We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b62372c commit dbc6437Copy full SHA for dbc6437
botcity/web/browsers/edge.py
@@ -2,6 +2,7 @@
2
import json
3
import os
4
import tempfile
5
+import time
6
from typing import Dict
7
8
from msedge.selenium_tools import Edge, EdgeOptions # noqa: F401, F403
@@ -124,6 +125,7 @@ def wait_for_downloads(driver):
124
125
"""
126
if not driver.current_url.startswith("edge://downloads"):
127
driver.get("edge://downloads/")
128
+ time.sleep(1)
129
return driver.execute_script("""
130
var items = Array.from(document.querySelector(".downloads-list")
131
.querySelectorAll('[role="listitem"]'));
0 commit comments