Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -119,7 +119,7 @@ def run_script(url: str, height: int, width: int, check_b,check_h):
|
|
| 119 |
driver.get(url)
|
| 120 |
html=driver.page_source
|
| 121 |
print(html)
|
| 122 |
-
driver.implicitly_wait(
|
| 123 |
driver.set_window_size(int(width), int(height))
|
| 124 |
|
| 125 |
screenshot = driver.save_screenshot(f'{uid}-tmp.png')
|
|
|
|
| 119 |
driver.get(url)
|
| 120 |
html=driver.page_source
|
| 121 |
print(html)
|
| 122 |
+
driver.implicitly_wait(60)
|
| 123 |
driver.set_window_size(int(width), int(height))
|
| 124 |
|
| 125 |
screenshot = driver.save_screenshot(f'{uid}-tmp.png')
|