Skip to content

Commit 817dc22

Browse files
committed
Refactor Angular waits
1 parent 1f42b1e commit 817dc22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seleniumbase/fixtures/js_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ def wait_for_angularjs(driver, timeout=settings.LARGE_TIMEOUT, **kwargs):
6060
return
6161
if not settings.WAIT_FOR_ANGULARJS:
6262
return
63+
if timeout == settings.MINI_TIMEOUT:
64+
timeout = settings.MINI_TIMEOUT / 2.0
6365

6466
NG_WRAPPER = (
6567
"%(prefix)s"

0 commit comments

Comments
 (0)