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 5c293a9 commit 19f6f4eCopy full SHA for 19f6f4e
seleniumbase/fixtures/base_case.py
@@ -698,8 +698,8 @@ def activate_jquery(self):
698
'''script.src = "http://code.jquery.com/jquery-3.2.1.min.js"; '''
699
'''document.getElementsByTagName("head")[0]'''
700
'''.appendChild(script);''')
701
- for x in range(30):
702
- # jQuery needs a small amount of time to activate. (At most 3s)
+ for x in range(int(settings.MINI_TIMEOUT * 10.0)):
+ # jQuery needs a small amount of time to activate.
703
try:
704
self.execute_script("jQuery('html')")
705
return
0 commit comments