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 a2f5aaf commit acefc09Copy full SHA for acefc09
botcity/web/browsers/chrome.py
@@ -133,7 +133,7 @@ def wait_for_downloads(driver):
133
if not driver.current_url.startswith("chrome://downloads"):
134
driver.get("chrome://downloads/")
135
# Chrome changed the `e.state` from a ENUM Str to numbers. Here 2 means COMPLETE.
136
- # Reference: https://github.com/chromium/chromium/blob/b34b8f13054dca8440d2dac0b1b5bae1dc5685d4/chrome/browser/ui/webui/downloads/downloads.mojom#L60
+ # Reference: https://shorturl.at/G4EES
137
return driver.execute_script("""
138
var items = document.querySelector('downloads-manager')
139
.shadowRoot.getElementById('downloadsList').items;
0 commit comments