Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit 4024373

Browse files
authored
Fixes #20090 (#20102)
Add sleeper to Chrome extension load before grabbing URL
1 parent be677a7 commit 4024373

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/script.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ class bcolors:
5252
sys.exit(2)
5353
else:
5454
raise e
55+
56+
# Allow the extension time to load
57+
time.sleep(1)
5558

5659
if sys.argv[1] == "Firefox":
5760
fp = webdriver.FirefoxProfile(sys.argv[2])

0 commit comments

Comments
 (0)