Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,7 +66,7 @@ def run_script(url: str, height: int, width: int, check_b,check_h):
|
|
| 66 |
#driver.get(driver.getCurrentUrl())
|
| 67 |
#driver.navigate().refresh()
|
| 68 |
main_head = driver.find_element(By.CLASS_NAME, "main-content-header")
|
| 69 |
-
driver.execute_script("arguments[0].style='background:#474747;color:#055550!important;';",main_head)
|
| 70 |
|
| 71 |
head_shot = main_head.screenshot(f'head-{uid}-tmp.png')
|
| 72 |
|
|
|
|
| 66 |
#driver.get(driver.getCurrentUrl())
|
| 67 |
#driver.navigate().refresh()
|
| 68 |
main_head = driver.find_element(By.CLASS_NAME, "main-content-header")
|
| 69 |
+
#driver.execute_script("arguments[0].style='background:#474747;color:#055550!important;';",main_head)
|
| 70 |
|
| 71 |
head_shot = main_head.screenshot(f'head-{uid}-tmp.png')
|
| 72 |
|