Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def run_script(url: str, height: int, width: int):
|
|
| 26 |
driver = webdriver.Chrome(options=options)
|
| 27 |
driver.get(url)
|
| 28 |
html=driver.page_source
|
| 29 |
-
print (driver.html)
|
| 30 |
driver.implicitly_wait(30)
|
| 31 |
driver.set_window_size(int(width), int(height))
|
| 32 |
page = driver.find_element(By.TAG_NAME, "html")
|
|
|
|
| 26 |
driver = webdriver.Chrome(options=options)
|
| 27 |
driver.get(url)
|
| 28 |
html=driver.page_source
|
| 29 |
+
#print (driver.html)
|
| 30 |
driver.implicitly_wait(30)
|
| 31 |
driver.set_window_size(int(width), int(height))
|
| 32 |
page = driver.find_element(By.TAG_NAME, "html")
|