Using a newer version of jQuery
This commit is contained in:
parent
5dc42ccd4c
commit
47cbb56600
|
@ -508,7 +508,7 @@ class BaseCase(unittest.TestCase):
|
|||
pass
|
||||
self.execute_script(
|
||||
'''var script = document.createElement("script"); '''
|
||||
'''script.src = "http://code.jquery.com/jquery-3.1.0.min.js"; '''
|
||||
'''script.src = "http://code.jquery.com/jquery-3.2.1.min.js"; '''
|
||||
'''document.getElementsByTagName("head")[0]'''
|
||||
'''.appendChild(script);''')
|
||||
for x in range(30):
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
If you want to run SeleniumBase automation on local web pages while offline, that's possible if you copy the resource files here to a location where your local web server is able to access those files as long as you make the necessary updates to your local copy of SeleniumBase. You might not even need to use them depending on what you're doing.
|
||||
|
||||
**jquery-3.1.0.min.js** - This file is used by [base_case.py](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/fixtures/base_case.py) in activate_jquery(). The activate_jquery() method uses the version at [http://code.jquery.com/jquery-3.1.0.min.js](http://code.jquery.com/jquery-3.1.0.min.js). You only need this file if you're making jQuery calls in your automation (some base_case methods use jQuery).
|
||||
**jquery-3.2.1.min.js** - This file is used by [base_case.py](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/fixtures/base_case.py) in activate_jquery(). The activate_jquery() method uses the version at [http://code.jquery.com/jquery-3.2.1.min.js](http://code.jquery.com/jquery-3.2.1.min.js). You only need this file if you're making jQuery calls in your automation (some base_case methods use jQuery).
|
||||
|
||||
**favicon.ico** - This file is used by [style_sheet.py](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/core/style_sheet.py) for the favicon icon. All it does is make the report page a little more professional-looking. Currently, SeleniumBase uses the version at [https://raw.githubusercontent.com/seleniumbase/SeleniumBase/master/seleniumbase/resources/favicon.ico](https://raw.githubusercontent.com/seleniumbase/SeleniumBase/master/seleniumbase/resources/favicon.ico).
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue