Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ def run_script(url: str, height: int, width: int, check_b,check_h):
|
|
| 61 |
|
| 62 |
driver.set_window_size(int(width), int(height))
|
| 63 |
page = driver.find_element(By.TAG_NAME, "html")
|
| 64 |
-
driver.execute_script(f"arguments[0].style={css_};",page)
|
| 65 |
print (dir(page))
|
| 66 |
#page.send_keys('theme','gab-black')
|
| 67 |
dk=page.get_attribute('theme')
|
|
|
|
| 61 |
|
| 62 |
driver.set_window_size(int(width), int(height))
|
| 63 |
page = driver.find_element(By.TAG_NAME, "html")
|
| 64 |
+
driver.execute_script(f"arguments[0].style='{css_}';",page)
|
| 65 |
print (dir(page))
|
| 66 |
#page.send_keys('theme','gab-black')
|
| 67 |
dk=page.get_attribute('theme')
|