Commit Graph

908 Commits

Author SHA1 Message Date
Michael Mintz bba72868a2 If the downloads_folder doesn't exist, create it for downloads 2019-11-23 14:41:17 -05:00
Michael Mintz 233e81173b Add the "saved_cookies" folder to constants 2019-11-23 01:45:49 -05:00
Michael Mintz 0ef69ad056 Update the method that deletes a saved cookies file 2019-11-23 01:44:36 -05:00
Michael Mintz c8fb60321d Make sure files are saved in the correct format 2019-11-23 01:40:48 -05:00
Michael Mintz 6372faabd8 Add methods for handling cookies on web pages 2019-11-23 01:37:02 -05:00
Michael Mintz af8b4de54f Add the assert_pdf_text() method for asserting text in a pdf 2019-11-22 02:13:00 -05:00
Michael Mintz c01ce3ce27 Update a CSS file 2019-11-21 00:06:12 -05:00
Michael Mintz 923ebf4870 Update a comment 2019-11-21 00:05:36 -05:00
Michael Mintz f25d0d30bb Swap CSS file with minified CSS file 2019-11-20 01:17:15 -05:00
Michael Mintz d892bdaf64 Refactor and minify Messenger resources 2019-11-20 00:52:29 -05:00
Michael Mintz 3f410ec461 Add html-inspector.min.js to resources 2019-11-19 02:57:06 -05:00
Michael Mintz 5b5bf1c0fa Add the html-inspector library to constants 2019-11-19 02:54:14 -05:00
Michael Mintz 03e9baae02 Add the inspect_html() method 2019-11-19 02:51:57 -05:00
Michael Mintz 9f10bfccf8 Improve some error messages if/when they occur 2019-11-16 17:06:17 -05:00
Michael Mintz d8dec6e0c8 Allow the update_text() method to handle ints and floats as text 2019-11-16 17:04:05 -05:00
Michael Mintz 34b114ff3c Add the save_page_source(file_name) method 2019-11-10 23:56:39 -05:00
Michael Mintz 7379503368 Add "Slow Mode". Usage: "--slow" 2019-11-07 01:31:58 -05:00
Michael Mintz dae07aaa91 Update pytest discovery rules 2019-11-05 01:54:02 -05:00
Michael Mintz 9bd74c5db9 Handle an edge case with Safari LINK_TEXT selectors 2019-11-04 01:12:36 -05:00
Michael Mintz 7c666682a1 Add the input() method as a shorter version of update_text() 2019-11-04 01:09:30 -05:00
Michael Mintz 4c045468cc Update a ReadMe file 2019-11-04 01:07:34 -05:00
Michael Mintz 00bdc9ee96 Raise an exception if running multi-threaded Safari tests 2019-11-04 01:06:35 -05:00
Michael Mintz 5cff80de99 Update initial browser window size settings 2019-11-04 01:04:42 -05:00
Michael Mintz 3388e87d87 Fix a Safari bug with forward and backward page navigation 2019-11-04 01:02:05 -05:00
Michael Mintz 0505937e31 Better exception-handling with element.clear() in update_text() 2019-11-04 01:00:16 -05:00
Michael Mintz f91ac1878c Improved clicking in Safari tests 2019-11-04 00:58:32 -05:00
Michael Mintz 9d30bca2d3 Update the docs 2019-11-02 23:15:20 -04:00
Michael Mintz b48cad57aa Update the docs 2019-10-27 02:25:53 -04:00
Michael Mintz 8b9be23300 Fix issue with timeouts set by a custom settings file 2019-10-24 02:34:14 -04:00
Michael Mintz 9301afd273 Add js_click_all() and jquery_click_all() 2019-10-22 02:13:18 -04:00
Michael Mintz 6e40a0b786 Update an example comment 2019-10-22 02:10:48 -04:00
Michael Mintz 4de95b7c01 Set default Geckodriver (Firefox WebDriver) to version 0.26.0 2019-10-19 20:24:38 -04:00
Michael Mintz 51d329c884 Update proxy sample list 2019-10-19 20:00:52 -04:00
Michael Mintz 5bcb3fdeb6 Add demo_mode highlights to assert_no_js_errors() on Chrome 2019-10-17 03:14:28 -04:00
Michael Mintz 14d20bad42 Update demo_mode highlights with assert_title() 2019-10-17 03:13:22 -04:00
Michael Mintz 3dd9f86c35 Ignore "javascript:" and "mailto:" links with assert_no_404_errors() 2019-10-17 03:11:18 -04:00
Michael Mintz 9d76cc9c8c Fix assert_no_404_errors() method 2019-10-13 09:04:54 -04:00
Michael Mintz 1dc7363cc2 Make sure chromedriver is available for Selenium Grid use 2019-10-13 01:38:40 -04:00
Michael Mintz 30ed10b219 If the expected webdriver isn't installed, install it automatically 2019-10-13 01:33:18 -04:00
Michael Mintz f47185ea5e Have the seleniumbase/drivers folder take PATH priority 2019-10-13 01:30:43 -04:00
Michael Mintz 7b5c542c86 Update the webdriver installer script (for Chrome and Firefox) 2019-10-13 01:28:25 -04:00
Michael Mintz 970e9358de Update the default webdriver search path 2019-10-11 01:04:49 -04:00
Michael Mintz 6ca0360973 Update the default Messenger font size 2019-10-09 00:06:01 -04:00
Michael Mintz 6b69ab5c59 Update the docs 2019-10-08 00:52:36 -04:00
Michael Mintz 15d5a29467 Add DRIVER_DIR to PATH for Selenium 4 compatibility 2019-10-04 01:12:58 -04:00
Michael Mintz 9cf8554217 Update proxy example list 2019-09-29 12:21:34 -04:00
Michael Mintz d9642e1d90 Update ReadMe files 2019-09-27 01:19:55 -04:00
Michael Mintz a35da4a938 Remove email_manager. Use IMAPClient instead. 2019-09-22 15:25:43 -04:00
Michael Mintz bb7f41e13b Add wait_for_text_not_visible() and assert_text_not_visible() 2019-09-22 03:59:50 -04:00
Michael Mintz d99c0731ae Update default Firefox preferences 2019-09-22 03:57:06 -04:00
Michael Mintz 47ae95d415 Refactoring 2019-09-22 03:55:02 -04:00
Michael Mintz c921c896db Update the seleniumbase page objects tool 2019-09-19 03:36:48 -04:00
Michael Mintz ddb0277613 Update console scripts: "seleniumbase mkdir DIR" 2019-09-19 03:34:48 -04:00
Michael Mintz d05cc17d8a Update and refactor command line arguments 2019-09-16 19:20:21 -04:00
Michael Mintz e7aa5e4901 Skip the disable_csp Chrome extension by default 2019-09-16 19:17:15 -04:00
Michael Mintz 4213aaa65a Update ReadMe files 2019-09-16 05:17:33 -04:00
Michael Mintz 1f59d7231a Update console scripts 2019-09-16 05:12:17 -04:00
Michael Mintz efcdf85178 Update the rate-limiting decorator 2019-09-16 05:07:18 -04:00
Michael Mintz b88838015d Update Messenger styling 2019-09-16 05:03:34 -04:00
Michael Mintz d11d0165d7 Update style_sheet spacing 2019-09-16 05:02:49 -04:00
Michael Mintz 0d3071871e Update page_actions 2019-09-16 05:01:31 -04:00
Michael Mintz e386473914 Add remove_attributes() method 2019-09-16 05:00:08 -04:00
Michael Mintz ea02a375ef Improve handling of "hover + click" actions 2019-09-16 04:58:37 -04:00
Michael Mintz b3afa25786 Update logging 2019-09-16 04:53:15 -04:00
Michael Mintz 545d380f65 Update set_attribute() 2019-09-16 04:52:40 -04:00
Michael Mintz 39e924acce Add set_attributes() / set_attribute_all() 2019-09-16 04:50:59 -04:00
Michael Mintz 4209ebaac4 Add the ability to install webdrivers directly to the user's PATH 2019-09-12 04:37:46 -04:00
Michael Mintz 057d01d7cb Update the Geckodriver install script 2019-09-11 02:39:39 -04:00
Michael Mintz 0dd0ddb738
Update docs 2019-09-10 13:11:00 -04:00
Michael Mintz e459dcec61
Update docs 2019-09-10 12:03:27 -04:00
Michael Mintz f4426435bc Update the docs 2019-09-10 10:41:16 -04:00
Michael Mintz c9ff075ca3 Update the webdriver manager 2019-09-10 04:27:17 -04:00
Michael Mintz 310e03ddf9 Update handling of msedgedriver test runs 2019-09-10 04:27:04 -04:00
Michael Mintz da46a0fa07 Prepare the new "msedgedriver" for SeleniumBase use 2019-09-09 10:01:41 -04:00
Michael Mintz 196e48bba5 Fix flake8 issues 2019-09-09 09:54:07 -04:00
Michael Mintz a5dafad477 Better error output in assert methods 2019-09-09 09:53:15 -04:00
Michael Mintz 42ce091822 Update example tests 2019-09-05 04:41:36 -04:00
Michael Mintz f5e14b41c3 Refactor and update methods 2019-09-05 04:38:36 -04:00
Michael Mintz 36076b93df Update a method name 2019-09-03 05:40:51 -04:00
Michael Mintz 9f8c0b6ac4 Fix flake8 whitespace issue 2019-09-03 05:16:21 -04:00
Michael Mintz ab39ce563a Update methods that handle link text in dropdowns 2019-09-03 05:11:45 -04:00
Michael Mintz 6249349572 Update SeleniumBase console scripts descriptions 2019-09-03 04:59:46 -04:00
Michael Mintz 34063b04e3 Update the selenium_ide script conversion tool 2019-09-03 04:58:29 -04:00
Michael Mintz ef8a876b93 Add additional methods for handling partial link text 2019-09-03 04:55:50 -04:00
Michael Mintz e2243e255b Refresh proxy_list with new proxies 2019-09-02 16:13:13 -04:00
Michael Mintz 1c88e8f37d Update SeleniumBase tour_helper 2019-09-02 16:09:07 -04:00
Michael Mintz dbd2ad135c Add Demo Mode notifications for basic assert statements 2019-09-01 16:16:49 -04:00
Michael Mintz 2e2a429ce8 Add Demo Mode notifications for self.assert_no_404_errors() 2019-09-01 16:16:00 -04:00
Michael Mintz d31356e8dd Add Demo Mode actions for assert_partial_link_text() 2019-09-01 16:13:52 -04:00
Michael Mintz 6fabfc42b4 Update Tether JavaScript library version 2019-09-01 16:02:29 -04:00
Michael Mintz cf7b10a8fc Update Backbone JavaScript library version 2019-09-01 16:01:43 -04:00
Michael Mintz 368edb6d6c Warn users that Demo Mode breaks layout tests for visual testing 2019-09-01 15:59:19 -04:00
Michael Mintz 762d48f31b When checking for JS errors, give enough time for them to appear 2019-09-01 15:56:19 -04:00
Michael Mintz fe9935504c Use the correct demo_mode message for assert_exact_text() 2019-09-01 15:54:38 -04:00
Michael Mintz fd488ffdc3 Use unittest asserts in some places to avoid extra method calls 2019-09-01 15:51:58 -04:00
Michael Mintz be736f575c Rename maximize_window option to resolve method conflict 2019-08-30 21:34:18 -04:00
Michael Mintz d3735d0790 Allow version input with "seleniumbase install chromedriver" 2019-08-30 20:50:17 -04:00
Michael Mintz 6c11ace20d Add hover_and_double_click() method 2019-08-30 20:44:40 -04:00
Michael Mintz c4781d7cdb Fix issue with auto-closing alert pop-ups 2019-08-30 20:42:55 -04:00
Michael Mintz 853bafe834 Update a comment 2019-08-30 20:34:11 -04:00
Michael Mintz 2d9b0deaad Update the selenium ActionChains import 2019-08-30 20:33:49 -04:00
Michael Mintz cfd3008140 Use PyMySQL for MySQL commands 2019-08-17 16:51:25 -04:00
Michael Mintz 6b54038120 Update SeleniumBase console scripts 2019-08-17 16:50:26 -04:00
Michael Mintz 0ce8a2f643 Prevent bad things when using a custom logs folder 2019-08-17 16:48:18 -04:00
Michael Mintz 99d422dcbd Add the assert_title(title) method 2019-08-17 16:46:27 -04:00
Michael Mintz 6230b614b0 Update the default Chrome switches 2019-08-14 01:39:45 -04:00
Michael Mintz 41fa128665 Add a command-line option to maximize the browser window 2019-08-14 01:38:38 -04:00
Michael Mintz af9cbc350d Update the console scripts test generator 2019-08-13 02:27:49 -04:00
Michael Mintz 6885f83973 Use shutil.move() instead of os.rename() 2019-08-10 00:09:26 -04:00
Michael Mintz 46259de58f Update the custom settings parser 2019-08-09 09:59:08 -04:00
Michael Mintz ec80cc48c5 Update the docs 2019-08-09 04:29:21 -04:00
Michael Mintz 276e9ab62f Add a settings file parser for overriding default settings 2019-08-09 04:27:34 -04:00
Michael Mintz d8fccfa9fe Update console scripts test generator 2019-08-06 01:40:45 -04:00
Michael Mintz 0ac11b1516 Add the "sb" pytest fixture 2019-08-02 02:20:46 -04:00
Michael Mintz b67a5e77dc Use ChromeDriver 2.44 as the most compatible version. 2019-08-01 01:46:42 -04:00
Michael Mintz dcb7f10e34 Add better error handling on scrolling actions 2019-08-01 01:45:29 -04:00
Michael Mintz d4b6520ba3 Use w3c WebDriver for Chrome 2019-08-01 01:43:15 -04:00
Michael Mintz 24c8dea4a9 Better handling of Python versions 2019-07-30 02:57:55 -04:00
Michael Mintz ef2918a49c Use SeleniumBase's virtual_display package 2019-07-30 02:56:35 -04:00
Michael Mintz 91b3e8ce51 Add virtual_display package to SeleniumBase 2019-07-30 02:53:38 -04:00
Michael Mintz d25edc80af Add an example test to the seleniumbase mkdir script 2019-07-28 00:22:27 -04:00
Michael Mintz b0ca4f5592 Update Firefox preferences 2019-07-26 03:00:03 -04:00
Michael Mintz 06c8287566 Update Firefox preferences 2019-07-26 02:42:44 -04:00
Michael Mintz 336bcde6f4 Update Firefox preferences 2019-07-26 02:34:06 -04:00
Michael Mintz bf802058d3 Update Firefox preferences 2019-07-26 02:10:53 -04:00
Michael Mintz 2663ec308e Increase the display size for virtual displays 2019-07-26 00:27:23 -04:00
Michael Mintz 5e818f44fa Set the initial URL with the start_page command-line option 2019-07-26 00:03:15 -04:00
Michael Mintz 5c15469da3 Add the command-line option for start_page 2019-07-25 20:29:41 -04:00
Michael Mintz 87c8a6a4c4 Update where the verify delay happens in MasterQA 2019-07-25 20:28:47 -04:00
Michael Mintz 902fa92e1a Use the log_path specified by the command-line options 2019-07-25 20:27:01 -04:00
Michael Mintz 529a0a3ca2 Update command-line descriptions 2019-07-25 20:20:14 -04:00
Michael Mintz 5ab75a3322 Make --headless mode the default setting on Linux 2019-07-25 13:57:56 -04:00
Michael Mintz 1d1345ee80 Better error-handling when stopping virtual displays 2019-07-25 13:55:54 -04:00
Michael Mintz e845399296 Add self.get() to avoid confusion with self.open() 2019-07-25 13:54:36 -04:00
Michael Mintz e08e27a59a Add --headed parameter to override Linux headless mode 2019-07-25 13:50:41 -04:00
Michael Mintz 91b335b0fc Improve the export feature for website tours 2019-07-25 00:31:46 -04:00
Michael Mintz e81d6493f8 Simplify demo_mode parameter 2019-07-21 14:13:25 -04:00
Michael Mintz e0ed83a07c Optimize selector detection and usage 2019-07-21 14:10:41 -04:00
Michael Mintz 201d7627a5 Update logging level for "requests" and "urllib3" 2019-07-18 09:21:45 -04:00
Michael Mintz 3cedb5a2f4 Update demo-mode reliability 2019-07-18 09:19:51 -04:00
Michael Mintz 4f3dd6f8f1 Update the example test 2019-07-17 01:36:03 -04:00
Michael Mintz 512b338e3e If the CSS Selector is "html", use "body" for highlights 2019-07-17 01:34:36 -04:00
Michael Mintz b1ea65d74d Refactor command-line arguments (pytest) 2019-07-16 01:23:27 -04:00
Michael Mintz 790cb589dd Refactor command-line arguments (nosetests) 2019-07-16 01:23:05 -04:00
Michael Mintz 1d6f764e18 Update comments 2019-07-15 00:06:43 -04:00
Michael Mintz 60fd689cc4 Allow a comma-separated list of Chrome extensions to use 2019-07-14 17:50:20 -04:00
Michael Mintz aafb66b8f1 Update tests 2019-07-14 16:28:47 -04:00
Michael Mintz f15546b168 Update command-line parameters for Chrome control 2019-07-14 01:05:47 -04:00
Michael Mintz b28ac8464b Update JqueryConfirm to version 3.3.4 2019-07-14 01:04:42 -04:00
Michael Mintz 0ee06c5789 Update URLs in Google tests 2019-07-14 01:02:20 -04:00