SeleniumBase/seleniumbase/resources/ReadMe.md

22 lines
2.4 KiB
Markdown
Raw Normal View History

2019-03-16 13:52:06 +08:00
## <img src="https://cdn2.hubspot.net/hubfs/100006/images/super_square_logo_3a.png" title="SeleniumBase" height="32"> Resources Help
2016-06-06 02:47:17 +08:00
2018-06-20 03:53:51 +08:00
SeleniumBase uses some Javascript libraries for optional advanced features such as website tours, messenger, highlighting elements on a page, and other jQuery actions. In some cases, you may want to host these Javascript and CSS files from your own websites. For simplicity and convenience, these resources have been downloaded into the "resources" folder. If you decide to use your local versions, you may need to update the corresponding URLs in [base_case.py](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/fixtures/base_case.py).
Here are some of the resource files you'll find here:
2016-06-06 02:47:17 +08:00
2018-08-10 12:07:30 +08:00
**jquery.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 [https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js](https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js). You only need this file if you're making jQuery calls in your automation (some base_case methods use jQuery).
2016-06-06 02:47:17 +08:00
**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).
2018-06-20 03:53:51 +08:00
**messenger/** - Files in this folder are used for creating Javascript notifications during test runs in Demo Mode.
2019-03-16 13:52:06 +08:00
**jquery_confirm/** - Files in this folder are used for creating Javascript confirmation prompts during test runs when using MasterQA.
2018-06-20 03:53:51 +08:00
2019-03-16 13:52:06 +08:00
**shepherd/** - Files in this folder are used for creating website tours using the Shepherd Javascript library. (This is the default tour library.)
**bootstrap_tour/** - Files in this folder are used for creating website tours using the Bootstrap Tour Javascript library.
**introjs/** - Files in this folder are used for creating website tours using the IntroJS Javascript library.
**hopscotch/** - Files in this folder are used for creating website tours using the Hopscotch Javascript library.