Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ def run_script(url: str, height: int, width: int, check_b,check_h):
|
|
| 64 |
print (page.get_attribute('theme'))
|
| 65 |
|
| 66 |
main_head = driver.find_element(By.CLASS_NAME, "main-content-header")
|
| 67 |
-
driver.execute_script("arguments[0].style
|
| 68 |
|
| 69 |
head_shot = main_head.screenshot(f'head-{uid}-tmp.png')
|
| 70 |
|
|
|
|
| 64 |
print (page.get_attribute('theme'))
|
| 65 |
|
| 66 |
main_head = driver.find_element(By.CLASS_NAME, "main-content-header")
|
| 67 |
+
driver.execute_script("arguments[0].style='background:#474747;color:#000000;';",main_head)
|
| 68 |
|
| 69 |
head_shot = main_head.screenshot(f'head-{uid}-tmp.png')
|
| 70 |
|