Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ def run_script(url: str, height: int, width: int):
|
|
| 59 |
print (len(messages))
|
| 60 |
for i,mes in enumerate(messages):
|
| 61 |
print (mes.text)
|
| 62 |
-
|
| 63 |
mes_box.append(f'{i}-{uid}-tmp.png')
|
| 64 |
#obj = driver.find_element(By.ID, "app-container")
|
| 65 |
#obj = driver.find_element(By.ID, "conversation-feed")
|
|
|
|
| 59 |
print (len(messages))
|
| 60 |
for i,mes in enumerate(messages):
|
| 61 |
print (mes.text)
|
| 62 |
+
mes.screenshot(f'{i}-{uid}-tmp.png')
|
| 63 |
mes_box.append(f'{i}-{uid}-tmp.png')
|
| 64 |
#obj = driver.find_element(By.ID, "app-container")
|
| 65 |
#obj = driver.find_element(By.ID, "conversation-feed")
|