|
|
@ -18,9 +18,8 @@ driver.get('http://127.0.0.1:5500/theme-clock/index.html')
|
|
|
|
button = driver.find_element(By.XPATH, '/html/body/button')
|
|
|
|
button = driver.find_element(By.XPATH, '/html/body/button')
|
|
|
|
button.click()
|
|
|
|
button.click()
|
|
|
|
|
|
|
|
|
|
|
|
# Wait for the changes to take effect (adjust wait time as needed)
|
|
|
|
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
# Find the new button after the changes
|
|
|
|
|
|
|
|
button = driver.find_element(By.XPATH, '/html/body/button')
|
|
|
|
button = driver.find_element(By.XPATH, '/html/body/button')
|
|
|
|
|
|
|
|
|
|
|
|
# Retrieve properties
|
|
|
|
# Retrieve properties
|
|
|
|