Skip to content

Commit 02c20ff

Browse files
BUG: fix related to wait_for_downloads method when used on edge - Issue #23
1 parent bc1a1c0 commit 02c20ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

botcity/web/browsers/edge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def wait_for_downloads(driver):
115115
*Important*: This method overwrites the current page with the downloads page.
116116
"""
117117
if not driver.current_url.startswith("edge://downloads"):
118-
driver.get("edge://downloads/")
118+
driver.get("edge://downloads/")
119119
return driver.execute_script("""
120120
var items = Array.from(document.querySelector(".downloads-list")
121121
.querySelectorAll('[role="listitem"]'));

0 commit comments

Comments
 (0)