Skip to content

Commit acefc09

Browse files
committed
STY: Address flake8 issue.
1 parent a2f5aaf commit acefc09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

botcity/web/browsers/chrome.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def wait_for_downloads(driver):
133133
if not driver.current_url.startswith("chrome://downloads"):
134134
driver.get("chrome://downloads/")
135135
# 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
136+
# Reference: https://shorturl.at/G4EES
137137
return driver.execute_script("""
138138
var items = document.querySelector('downloads-manager')
139139
.shadowRoot.getElementById('downloadsList').items;

0 commit comments

Comments
 (0)