Commit Graph

700 Commits

Author SHA1 Message Date
Michael Mintz fe5e2b00ef Update the seleniumbase console scripts description 2018-12-30 18:09:18 -05:00
Michael Mintz 2639f901a4 Update method comments 2018-12-30 18:08:21 -05:00
Michael Mintz 158a2ef7a4 Update proxy list 2018-12-30 18:06:09 -05:00
Michael Mintz 511b0a5e45 Update method used for clicking links inside of dropdowns 2018-12-30 18:04:42 -05:00
Michael Mintz e83480c484 Update selenium ide conversion tool 2018-12-30 18:01:03 -05:00
Michael Mintz e2fcf45ed7 Update the docs 2018-12-27 03:24:23 -05:00
Michael Mintz ed0b1be2bf Update proxy list 2018-12-19 01:27:18 -05:00
Michael Mintz 004ad96da6 Update ReadMe and console logo 2018-12-18 02:33:12 -05:00
Michael Mintz 56c7ad1a7f Update the selenium_ide conversion tool 2018-12-15 20:17:51 -05:00
Michael Mintz d835304ea4 Add submit() method 2018-12-15 20:14:37 -05:00
Michael Mintz cd7b1b6579 Update console scripts and styling 2018-12-14 20:27:21 -05:00
Michael Mintz 30fbc9d160 Make sure "seleniumbase" is typed before the console scripts commands 2018-12-14 05:11:36 -05:00
Michael Mintz d6d857f887 Update the SeleniumBase console scripts help section 2018-12-14 04:48:29 -05:00
Michael Mintz b38ade4097 Update the SeleniumBase logo generator 2018-12-14 04:36:31 -05:00
Michael Mintz 057d85e747 Update the seleniumbase console scripts interface 2018-12-14 04:12:08 -05:00
Michael Mintz d8bcdced24 Create a SeleniumBase logo for console interfaces 2018-12-14 03:49:01 -05:00
Michael Mintz 48a1f18410 Update example tests 2018-12-11 02:01:57 -05:00
Michael Mintz b0ca55c1cb Update ReadMe files 2018-12-04 17:28:47 -05:00
Michael Mintz 786b3cd70b Add console script to download the selenium server jar file 2018-12-04 17:28:07 -05:00
Michael Mintz 3460dbdddb Add option to force the download of a newer selenium server jar file 2018-12-04 17:26:31 -05:00
Michael Mintz 89cfff44e6 Use the latest selenium server jar file 2018-12-04 17:22:43 -05:00
Michael Mintz f10cf97f87 Update proxy configuration example 2018-12-04 11:45:44 -05:00
Michael Mintz 8adeeee9d6 Update proxy_list 2018-12-01 19:59:23 -05:00
Michael Mintz b8c3f9c5f7 Add click_visible_elements() method for big sequence clicks 2018-12-01 19:59:00 -05:00
Michael Mintz 4df7fad1a2 Update a method comment 2018-11-29 11:11:16 -05:00
Michael Mintz 226dadd3fb Spell "JavaScript" like this 2018-11-29 02:42:38 -05:00
Michael Mintz a9cea39031 Check for Javascript errors on page loads if the option is on. 2018-11-29 02:09:41 -05:00
Michael Mintz a7ff797c01 Add nosetest option to check for js errors on page loads 2018-11-29 02:07:46 -05:00
Michael Mintz 0989af9cf0 Add pytest option to check for js errors on page loads 2018-11-29 02:06:19 -05:00
Michael Mintz 087760888d Add method to assert that no Javascript errors exist on the current page 2018-11-29 02:05:31 -05:00
Michael Mintz 72972d2ff7 Update ReadMe files 2018-11-26 23:45:46 -05:00
Michael Mintz 26892f7a2e Update the Selenium IDE converter tool 2018-11-26 23:42:31 -05:00
Michael Mintz 7bd5d77f75 Set default selector to "html" for text-search methods (it's now optional too) 2018-11-21 16:05:23 -05:00
Michael Mintz 493827a094
Merge pull request #247 from seleniumbase/remote-desired-capabilities
Remote desired capabilities
2018-11-21 14:48:19 -05:00
Michael Mintz fd6e053ee9 Update comments 2018-11-21 13:51:21 -05:00
Michael Mintz 0866985b75 Handle edge case for proxy server with auth using remote headless Chrome 2018-11-21 11:13:39 -05:00
jochen 355a996acd Add TestingBot support 2018-11-21 10:20:32 +01:00
Michael Mintz 5abb012131 Add "desired capabilities" options for BrowserStack and Sauce Labs 2018-11-21 03:13:37 -05:00
Michael Mintz 5741f609a0 Add android, iphone, ipad, and remote browser options 2018-11-21 03:10:54 -05:00
Michael Mintz 81b2553dbd Add --cap_file command line option for desired capabilities 2018-11-21 03:08:26 -05:00
Michael Mintz 649860778d Add tool for parsing desired capabilities from a file 2018-11-21 02:55:24 -05:00
Michael Mintz 75ca98782f Fix edge case with tearDown() method 2018-11-15 00:24:05 -05:00
Michael Mintz 293fd37fd0 Update the docs 2018-11-06 17:51:16 -05:00
Michael Mintz c3cfbf7892 Add a comment 2018-11-05 17:57:50 -05:00
Michael Mintz 4d52f879f8 flake8 fixes 2018-11-05 00:23:53 -05:00
Michael Mintz 6963c2a39a flake8 fixes 2018-11-04 23:08:40 -05:00
Michael Mintz 040aa255fa Update the MasterQA ReadMe 2018-11-03 17:51:26 -04:00
Michael Mintz 29c646aeb7 Update MasterQA 2018-11-03 17:51:12 -04:00
Michael Mintz 07c46acfa8 Refactor js_utils 2018-11-03 17:50:36 -04:00
Michael Mintz 9713e77d8a Update MasterQA default settings 2018-11-03 17:40:17 -04:00
Michael Mintz 05e32fdc6f Update the MasterQA ReadMe 2018-11-02 19:18:05 -04:00
Michael Mintz 509424b9aa Use jquery-confirm by default for MasterQA page checks 2018-11-02 19:16:59 -04:00
Michael Mintz 4527671ec3 Update default pause time in MasterQA 2018-11-02 19:14:27 -04:00
Michael Mintz e4274fdeb6 Add jquery-confirm into SeleniumBase 2018-11-02 19:13:28 -04:00
Michael Mintz 2be8f0b6ac Add jquery-confirm resources 2018-11-02 19:07:38 -04:00
Michael Mintz cb06267c50 Refactor js_utils from page_utils 2018-11-02 19:06:45 -04:00
Michael Mintz 3a3bad9d47 Change default screen resolutions for browser windows 2018-10-30 12:28:17 -04:00
Michael Mintz 7be87df000 Workaround for using a proxy server with auth in Chrome headless mode 2018-10-30 12:25:41 -04:00
Michael Mintz 6072be49b2 Handle an edge case when using a proxy with auth 2018-10-30 03:30:32 -04:00
Michael Mintz 564361eced Replace deprecated method 2018-10-24 01:21:56 -04:00
Michael Mintz 752e49f1d9 Update comments 2018-10-23 19:20:00 -04:00
Michael Mintz 0e23e9ed1b Add a "Back" button to Shepherd website tours 2018-10-23 19:17:59 -04:00
Michael Mintz b9da9d5e3d Add find_elements method 2018-10-23 02:03:07 -04:00
Michael Mintz d23830ef52 Update select_option_by_* methods 2018-10-23 02:02:24 -04:00
Michael Mintz 047f5a6758 Update the docs 2018-10-20 19:44:32 -04:00
Michael Mintz b632efd86d Update error message 2018-10-20 19:44:07 -04:00
Michael Mintz e356c4d954 Case-insensitive console scripts 2018-10-19 15:41:18 -04:00
Michael Mintz ce7b4dd47d Use urllib3 instead of requests.packages.urllib3 2018-10-19 11:19:04 -04:00
Michael Mintz bcc61ced9a Force 64-bit Geckodriver on Windows 2018-10-18 22:58:37 -04:00
Michael Mintz a50f366c99 Use Geckodriver v0.23.0 2018-10-18 22:53:49 -04:00
Michael Mintz f1f756c13c Update a comment. 2018-10-18 22:50:17 -04:00
Michael Mintz 4813354af5 Update environment options 2018-10-18 15:52:34 -04:00
Michael Mintz 4e33ceff60 Make pytest browser selection case-insensitive 2018-10-18 15:51:05 -04:00
Michael Mintz e608f9156d Use default Chrome log-level on Windows 2018-10-18 12:31:49 -04:00
Michael Mintz 2d435bfbf7 Use the "requests" version of "urllib3" to prevent conflicts 2018-10-18 12:29:50 -04:00
Michael Mintz 3e36824e55 Fix logging 2018-10-17 18:20:17 -04:00
Michael Mintz 7a243b0379 Update a few comments 2018-10-17 18:19:16 -04:00
Michael Mintz ea661a266d Handle cleanup of proxy zip file between test runs 2018-10-17 18:17:20 -04:00
Michael Mintz f2d2fddf4f Add ability to use a proxy server with authentication on Chrome 2018-10-17 18:16:13 -04:00
Michael Mintz a809de909a Update the docs 2018-10-10 13:22:02 -04:00
Michael Mintz 64cb4a50de Major refactoring to organize methods 2018-10-10 03:35:11 -04:00
Michael Mintz c881beb275 Minor change to Google Auth timing 2018-10-08 17:51:22 -04:00
Michael Mintz f00ca7f220 Add the ability to export a website tour as a .js file 2018-10-08 00:41:49 -04:00
Michael Mintz 7e4d59f4b4 Simplify an import statement 2018-10-08 00:40:41 -04:00
Michael Mintz 2f62816997 Swap CDN for jQuery loading 2018-10-08 00:40:00 -04:00
Michael Mintz 91b73628ca Using https instead of http in the examples 2018-10-08 00:38:43 -04:00
Michael Mintz 3726c89b33 Refactoring tour code 2018-10-08 00:36:33 -04:00
Michael Mintz a56987c59f Refactoring hover click methods 2018-10-05 15:13:34 -04:00
Michael Mintz 110f2bdec5 Allow website tours to accept xpath selectors 2018-10-05 15:09:29 -04:00
Michael Mintz e1c2f8eb53 Convert XPATH to CSS Selector before using a hover method. 2018-10-05 09:36:45 -04:00
Michael Mintz fa97f317c3 Update the SeleniumBase favicon 2018-10-05 01:21:22 -04:00
Michael Mintz 2ab36cc967 Handle certificates with Firefox 2018-10-05 01:20:45 -04:00
Michael Mintz 55919ed67b Add ability to create & run Hopscotch JS website tours 2018-10-05 01:19:42 -04:00
Michael Mintz bb3422f707 Flake8 fixes 2018-10-04 02:32:21 -04:00
Michael Mintz aad7d24e68 Update website tour code 2018-10-04 02:30:12 -04:00
Michael Mintz 65bcb94097 Add ability to create website tours using the IntroJS library 2018-10-04 02:27:47 -04:00
Michael Mintz 843f164988 If the Google Auth password expires soon, get the next one 2018-09-29 11:12:21 -04:00
Michael Mintz 5d99e5c9af Add ability to handle time-based Google Authenticator logins 2018-09-28 18:41:58 -04:00
Michael Mintz 0e7624238d Move rare imports to live with specific code 2018-09-28 18:37:45 -04:00
Michael Mintz ecde4035c8 Use private browsing for Firefox 2018-09-23 04:47:45 -04:00
Michael Mintz 2d322a36d1 Use the latest version of geckodriver for Firefox 2018-09-23 04:46:50 -04:00
Michael Mintz efde13b475 Refactoring 2018-09-19 23:01:31 -04:00
Michael Mintz 3088ba26ad Use raw strings for regular expressions 2018-09-19 22:54:37 -04:00
Michael Mintz 521730ebd9 Update example tests 2018-09-19 21:48:41 -04:00
Michael Mintz 0c29769f05 Update tour code (add alternate theme name) 2018-09-19 21:46:33 -04:00
Michael Mintz 043c8da232 Update browser launcher for Firefox 2018-09-19 16:42:49 -04:00
Michael Mintz 0fe9fc5294 Ignore deprecation warnings 2018-09-19 16:17:31 -04:00
Michael Mintz 738737411a Change the algorithm for taking screenshots 2018-08-30 23:55:50 -04:00
Michael Mintz b91ae821ac Handle Nosetest logging from base_case 2018-08-30 21:51:08 -04:00
Michael Mintz 7d5c136046 The html base tag should not close 2018-08-30 19:12:27 -04:00
Michael Mintz 765e64d6fb Use urllib3 for driver downloads 2018-08-30 02:56:51 -04:00
Michael Mintz 32583f7b5b Escape quotes if needed 2018-08-30 01:57:02 -04:00
Michael Mintz efd408ba1b Flake8 refactoring 2018-08-30 01:51:38 -04:00
Michael Mintz f55e55dcff Quotes need to be properly escaped before Javascript calls 2018-08-30 01:50:24 -04:00
Michael Mintz af9b768d38 Fix delayed asserts. 2018-08-28 14:59:18 -04:00
Michael Mintz 7597ae62fc Autocomplete text boxes may need more time to finish updating 2018-08-28 02:13:02 -04:00
Michael Mintz 00d1b64d1c Add ability to create SeleniumBase Bootstrap Tours 2018-08-27 11:57:14 -04:00
Michael Mintz 41252e7e81 Update code to match the latest version of selenium 2018-08-21 18:27:03 -04:00
Michael Mintz 69a391738e Add new website-traffic-generation methods 2018-08-21 18:25:40 -04:00
Michael Mintz 40b7993ee6 Update ad_block list 2018-08-21 18:25:08 -04:00
Michael Mintz 066527f3f2 Improve reliability 2018-08-21 18:22:38 -04:00
Michael Mintz 3ffe6a2ea0 Update the Docs 2018-08-21 01:57:33 -04:00
Michael Mintz 2e29316c6d Add save_data_as() method 2018-08-19 15:05:46 -04:00
Michael Mintz 4b49534778 Update a method description. 2018-08-19 15:04:43 -04:00
Michael Mintz dbc8dbc050 Fix a bug with website tours 2018-08-19 15:04:00 -04:00
Michael Mintz fcf1d4b2f8 Set Chrome browser default window size on launch 2018-08-17 19:57:00 -04:00
Michael Mintz 5dc26d912d Update the Selenium IDE converter tool 2018-08-15 20:06:42 -04:00
Michael Mintz 4a77d3bac1 Optimize IE settings 2018-08-15 05:08:09 -04:00
Michael Mintz 72e13c67fa Optimize settings for IE 2018-08-15 04:43:48 -04:00
Michael Mintz 0af74326a2 Make IE browser more compatible 2018-08-14 21:28:12 -04:00
Michael Mintz 4b38096f1b Fix an edge case with clicking Link Text when using IE 2018-08-14 20:37:49 -04:00
Michael Mintz 97259ce4e1 Set theme for Messenger success messages 2018-08-14 20:35:23 -04:00
Michael Mintz abc5a086d8 Better error-handling on clicks 2018-08-14 19:58:16 -04:00
Michael Mintz dea28f5fb7 Fix IE browser launcher 2018-08-14 18:23:59 -04:00
Michael Mintz 4f6bab5296 Use the new "drivers" folder to finding web drivers 2018-08-14 01:44:22 -04:00
Michael Mintz ca815cb0c2 Move "drivers" folder to "seleniumbase/drivers" 2018-08-14 01:42:15 -04:00
Michael Mintz 6f79b0857d Move "console_scripts" to "seleniumbase/console_scripts" 2018-08-14 01:39:43 -04:00
Michael Mintz 1b92c33c26 Add "__init__.py" to "seleniumbase/utilities" 2018-08-14 01:38:06 -04:00
Michael Mintz d139aa6d86 Move "selenium_ide" conversion tool to "seleniumbase/utilities" 2018-08-14 01:36:02 -04:00
Michael Mintz be1723a039 Move "selenium_grid" to "seleniumbase/utilities" 2018-08-14 01:31:45 -04:00
Michael Mintz 8fd8c1a301 Refactoring tour styles 2018-08-12 17:23:07 -04:00
Michael Mintz 2f529d82a2 Update default values for tour methods 2018-08-12 17:21:30 -04:00
Michael Mintz 92186bb494 Update default "onload" value for JS injector 2018-08-12 17:19:50 -04:00
Michael Mintz 1268376822 Add new methods for website manipulation 2018-08-10 00:20:30 -04:00
Michael Mintz 5531091ec5 Add Javascript and CSS resources to constants 2018-08-10 00:20:10 -04:00
Michael Mintz 11be5c1708 Refactoring javascript and css resources 2018-08-10 00:17:48 -04:00
Michael Mintz 7d73ac1a62 Refactor add_css_link() and add_js_link() methods 2018-08-10 00:16:31 -04:00
Michael Mintz bc62a3e8c0 Make the bring_to_front() method more powerful 2018-08-10 00:14:24 -04:00
Michael Mintz 826d3b2be5 Remove unnecessary "return" statement 2018-08-10 00:12:55 -04:00
Michael Mintz 7ada95caf0 Update the Resources ReadMe 2018-08-10 00:07:30 -04:00
Michael Mintz 88de946587 Add "self.env" for handling test environments 2018-08-10 00:06:01 -04:00
Michael Mintz 31494647e5 Update Resources 2018-08-09 23:50:41 -04:00
Michael Mintz 7386f15499 Update the default Demo Mode timeout to 0.5 seconds 2018-08-07 22:23:34 -04:00
Michael Mintz 1f784fae58 Update the MasterQA ReadMe file 2018-08-07 22:22:20 -04:00
Michael Mintz a5366752af Add Opera Browser support 2018-08-07 22:05:27 -04:00
Michael Mintz e88cb4bb3f Remove the HipChat integration plugin 2018-08-01 21:40:46 -04:00
Michael Mintz f527a68923 Avoid multi-threaded test runs when using nosetests 2018-08-01 21:03:34 -04:00
Michael Mintz 3988f07d00 Keep logs under control when running Chrome on Windows 2018-08-01 21:02:12 -04:00
Michael Mintz e4afc39894 Don't let Firefox update itself in the middle of a test run 2018-08-01 21:01:16 -04:00
Michael Mintz 0571749a21 Use local web drivers from the "drivers" folder if available 2018-07-31 14:09:18 -04:00
Michael Mintz 827861ce71 Only use pyvirtualdisplay for headless mode when available 2018-07-31 13:46:13 -04:00
Michael Mintz 60ddc6e03a Update methods for link/script additions 2018-07-26 15:30:55 -04:00
Michael Mintz e39faa0979 Prevent traffic-generation methods from raising the bounce rate. 2018-07-25 01:49:22 -04:00
Michael Mintz af5665f35b Handle spinning up new browser drivers more efficiently 2018-07-25 01:46:31 -04:00
Michael Mintz 4c9d8911d1 Add a secondary method name for less confusion 2018-07-25 01:44:23 -04:00
Michael Mintz dde3647874 Don't use deprecated methods 2018-07-25 01:42:51 -04:00
Michael Mintz d8ba6cc53c Add a comment 2018-07-25 01:42:02 -04:00
Michael Mintz 02b7baa0c7 Make sure headless browser windows are big enough 2018-07-25 01:40:29 -04:00
Michael Mintz 14607a0995 Save time by holding off on some imports until used later 2018-07-25 01:37:18 -04:00
Michael Mintz f0abd4a7f8 Update a ReadMe 2018-06-19 15:53:51 -04:00
Michael Mintz b2cfaf0287 Organize resources folder 2018-06-19 15:53:32 -04:00
Michael Mintz debc3179d4 Add resources for offline usage. 2018-06-17 23:41:25 -04:00
Michael Mintz f9ee5dfa72 Remove unused Messenger theme files 2018-06-17 23:35:02 -04:00
Michael Mintz a5360040f6 Update spelling 2018-06-17 23:33:08 -04:00
Michael Mintz 068eb5aa8b Add feature to autoplay steps of walkthrough tours. 2018-06-17 14:41:02 -04:00
Michael Mintz d58348a531 Don't duplicate the highlight animations with Demo Mode 2018-06-17 14:39:36 -04:00
Michael Mintz 0a5f5b466d Update a default value for highlight actions. 2018-06-17 14:28:06 -04:00
Michael Mintz f941070036 More code refactoring 2018-06-13 01:39:10 -04:00
Michael Mintz 8f46524745 More refactoring 2018-06-12 03:49:02 -04:00
Michael Mintz b2fe300de9 Refactoring 2018-06-12 01:28:12 -04:00
Michael Mintz f94b338c70 Add ability to create and play website tours 2018-06-12 01:04:00 -04:00
Michael Mintz 7a34c3b987 Update exception comment 2018-06-12 01:02:59 -04:00
Michael Mintz b7bc809eb8 Add a pair of highlight methods 2018-06-12 01:01:10 -04:00
Michael Mintz e7234fce6b Allow custom javascript on Firefox 2018-06-12 00:59:47 -04:00
Michael Mintz d8d3c80aa0 Update Messenger 2018-06-12 00:58:14 -04:00
Michael Mintz ead1547286 Add Messenger code for improving Demo Mode 2018-05-07 01:16:07 -04:00
Michael Mintz ec983f41b4 Have jQuery scripts use https on load 2018-05-07 01:04:36 -04:00
Michael Mintz 15d7149ac5 Add a cmd arg for handling Messenger message duration 2018-05-07 01:03:29 -04:00
Michael Mintz 476eaa9ee3 Removing some older test_db functionality until it's ready for prime time 2018-04-17 02:53:24 -04:00
Michael Mintz a776271166 Rename a test_db table for clarity 2018-04-17 02:36:46 -04:00
Michael Mintz d44ec1d885 Renaming a DB method file 2018-04-17 02:28:01 -04:00
Michael Mintz ee7306a1ae test_db method naming 2018-04-17 02:17:50 -04:00
Michael Mintz 8798dba3d1 If you're overriding SeleniumBase's BaseCase setUp() method, you'll know. 2018-04-16 16:00:32 -04:00
Michael Mintz 14bd125827 Update naming of db methods 2018-04-14 19:19:27 -04:00
Michael Mintz 8ead18eb37 Fix a few MySQL DB naming issues 2018-04-12 16:41:31 -04:00
Michael Mintz 82e6219f2c Rename the script that creates MySQL DB tables 2018-04-12 16:25:50 -04:00
Michael Mintz b810287adc Update documentation. 2018-04-12 16:01:46 -04:00
Michael Mintz 518594e9ab Improve the MySQL DB test storage feature. 2018-04-12 15:54:21 -04:00
Michael Mintz 07f9bf04c5 Fix import for Python 3 2018-04-11 22:43:46 -04:00
Michael Mintz fa6977224c Clean up xpath-to-css converter code 2018-04-10 01:35:14 -04:00