Make sure jQuery is fully activated when using it

This commit is contained in:
Michael Mintz 2020-04-09 02:41:31 -04:00
parent a08d343e05
commit 40989d1dd1
1 changed files with 1 additions and 0 deletions

View File

@ -1835,6 +1835,7 @@ class BaseCase(unittest.TestCase):
""" If "jQuery is not defined", use this method to activate it for use.
This happens because jQuery is not always defined on web sites. """
js_utils.activate_jquery(self.driver)
self.wait_for_ready_state_complete()
def __are_quotes_escaped(self, string):
return js_utils.are_quotes_escaped(string)