Commit Graph

1032 Commits

Author SHA1 Message Date
Michael Mintz b56b312027 Update the proxy list 2020-04-13 04:03:51 -04:00
Michael Mintz fd20ad589e Update the language translations 2020-04-13 04:01:18 -04:00
Michael Mintz 039e52af5b Add methods for pressing arrow keys 2020-04-13 04:00:33 -04:00
Michael Mintz 0b1662a120 Improve JS method reliability 2020-04-13 03:58:51 -04:00
Michael Mintz 985f3984b1 Improve highlighting in Demo Mode 2020-04-09 02:44:01 -04:00
Michael Mintz af2ba5ba58 Increase the bring_to_front() z-index setting 2020-04-09 02:43:10 -04:00
Michael Mintz 40989d1dd1 Make sure jQuery is fully activated when using it 2020-04-09 02:41:31 -04:00
Michael Mintz a08d343e05 Add a docstring 2020-04-09 02:40:14 -04:00
Michael Mintz c3fccbd34c Update comments and add assert_raises() 2020-04-09 02:39:38 -04:00
Michael Mintz 01cd41c0ec Use complete cloudflare links for accessing libraries 2020-04-09 02:38:11 -04:00
Michael Mintz 3806c771cf Add methods for injecting html into a web page 2020-04-09 02:33:27 -04:00
Michael Mintz 929da2b464 Refactor error logging 2020-04-03 01:58:20 -04:00
Michael Mintz b3e4f2fffa Use "seconds" in plural form only when timeout is not "1" 2020-04-03 01:55:46 -04:00
Michael Mintz 97c5ccce40 Remove a debugging comment 2020-03-30 03:21:24 -04:00
Michael Mintz fdb199df2a Add SeleniumBase translations in Portuguese 2020-03-30 02:55:41 -04:00
Michael Mintz 58ca8e8988 Update translations 2020-03-29 16:27:22 -04:00
Michael Mintz 0c7c7adc6a Add methods for checkboxes and radio buttons 2020-03-29 16:24:16 -04:00
Michael Mintz cf7d0d10ab Add option for get_attribute() to return None instead of fail 2020-03-29 16:16:25 -04:00
Michael Mintz ea0c6422dc Update language translations 2020-03-28 23:24:59 -04:00
Michael Mintz a5a6a4c60f Add a better-named duplicate method name 2020-03-28 23:08:42 -04:00
Michael Mintz 66a3930ba3 Add a method description 2020-03-28 23:08:04 -04:00
Michael Mintz 01df9f3202 Add a Spanish translation of SeleniumBase 2020-03-28 23:05:15 -04:00
Michael Mintz d9c78ed40f Update a method 2020-03-27 01:12:13 -04:00
Michael Mintz 4034b38612 Add the Italian language translations for SeleniumBase 2020-03-27 01:11:39 -04:00
Michael Mintz a04fbf7a34 Update SeleniumBase language translations 2020-03-22 03:23:34 -04:00
Michael Mintz 584f95cab6 Make sure special characters are kept when getting the URL 2020-03-22 03:06:29 -04:00
Michael Mintz c8014b48f4 Use fewer demo-mode highlights for non-browser asserts 2020-03-22 03:03:06 -04:00
Michael Mintz aef7a42582 Add the French translation for SeleniumBase 2020-03-22 02:52:07 -04:00
Michael Mintz b333f94083 Add the Korean language translations for SeleniumBase 2020-03-21 15:18:18 -04:00
Michael Mintz 03f300e5ca Update the Japanese BaseCase 2020-03-20 23:38:11 -04:00
Michael Mintz 4fdb7179d9 Update the Chinese translation of SeleniumBase 2020-03-20 00:31:10 -04:00
Michael Mintz 60a5a33ec9 Add the Japanese translation of SeleniumBase 2020-03-20 00:30:38 -04:00
Michael Mintz fcd1602665 Fix the xpath-to-css converter 2020-03-17 23:42:03 -04:00
Michael Mintz 06319754b1 Update the hover_and_click() method 2020-03-16 09:04:46 -04:00
Michael Mintz 88ddc70a1d Update the tests 2020-03-16 01:27:34 -04:00
Michael Mintz 4beab88474 Add "no-sandbox" and "disable-gpu" options 2020-03-16 00:43:44 -04:00
Michael Mintz 299ef33561 Add Chinese language translations 2020-03-16 00:41:24 -04:00
Michael Mintz 40bf54152f Match indentation 2020-03-15 09:47:43 -04:00
Michael Mintz b4548c1632 Fix xpath-to-css converter 2020-03-15 09:42:01 -04:00
Michael Mintz dfd16d0869 Include MySQL Port when parsing custom settings 2020-02-23 01:21:55 -05:00
Michael Mintz d3b4e97f39 Update report_helper to include Edge browser 2020-02-23 01:20:19 -05:00
Michael Mintz 47d7d2b295 Better error-handling with PDF extraction methods 2020-02-21 01:58:39 -05:00
Michael Mintz 781cb8e463 Better error-handling with custom settings parsing 2020-02-19 04:20:22 -05:00
Michael Mintz 982373956f Update MasterQA settings parsing 2020-02-19 03:46:02 -05:00
Michael Mintz 979915263f Update location of settings parsing 2020-02-19 03:44:55 -05:00
Michael Mintz b04c81798b Rename skip_test() method to skip() 2020-02-19 03:43:58 -05:00
Michael Mintz 23e7dd774a Add option to change the default MySQL port 2020-02-19 03:42:00 -05:00
Michael Mintz 08f4aef28d Update parsing of DB settings 2020-02-19 03:41:06 -05:00
Michael Mintz 53f4240aac Update comments and ReadMe files 2020-02-18 02:10:36 -05:00
Michael Mintz 26cf74abc4 Handle utf-8 encoding with the ide export converter tool 2020-02-18 02:06:10 -05:00
Michael Mintz a8b822300a Update default Geckodriver on Windows for compatibility 2020-02-06 21:44:30 -05:00
Michael Mintz ae464894d1 Add scroll_to_top() and scroll_to_bottom() 2020-02-05 01:57:51 -05:00
Michael Mintz 31dd0e3ca9 If a URL starts with "://", add "https" to the start of it 2020-02-02 21:57:25 -05:00
Michael Mintz 415a57d3bb Improve automated visual testing 2020-01-31 04:14:47 -05:00
Michael Mintz d247608e2a Better exception handling around log folders 2020-01-31 03:52:24 -05:00
Michael Mintz 7a3fbbc3bf Better handling of page scrolling to elements 2020-01-31 03:51:31 -05:00
Michael Mintz cdc7312ebe Update example proxy list 2020-01-31 03:09:08 -05:00
Michael Mintz d4c41d580c Treat the Chromium Edge browser like Chrome 2020-01-22 00:54:44 -05:00
Michael Mintz 402075770c Refresh the proxy example list 2020-01-19 02:15:23 -05:00
Michael Mintz 2ee4b415b8 Improve demo-mode on mobile device tests 2020-01-19 02:07:28 -05:00
Michael Mintz 4e8e747d19 Update line spacing 2020-01-18 19:03:37 -05:00
Michael Mintz 9d15b859ae Update xpath-to-css converter 2020-01-18 18:54:18 -05:00
Michael Mintz 63fea896a7 Improve select_option_by_*() methods 2020-01-17 23:24:55 -05:00
Michael Mintz dd08898a15 Improve reliability for the html_inspector 2020-01-17 00:41:02 -05:00
Michael Mintz 27eacfea91 Add edgedriver to example install commands 2020-01-17 00:19:09 -05:00
Michael Mintz e08946b131 Update proxy examples 2020-01-17 00:17:18 -05:00
Michael Mintz 858d6c39f4 Add skip_test() to avoid using the camelCase version 2020-01-17 00:16:27 -05:00
Michael Mintz ee8b1d9e96 Update get_page_title() and combine get_title() into it 2020-01-17 00:14:50 -05:00
Michael Mintz ccc2c72b22 Update multi-thread detection 2020-01-16 01:44:49 -05:00
Michael Mintz 464809484c Improve Microsoft EdgeDriver compatibility 2020-01-16 01:30:19 -05:00
Michael Mintz ba51d514ae Remove a duplicate line and filter a warning 2020-01-16 01:28:08 -05:00
Michael Mintz 00663a861e Update Firefox preferences 2020-01-16 01:26:56 -05:00
Michael Mintz 3b5fcfe77d Update the default EdgeDriver version to 79.0.309.65 2020-01-16 01:24:59 -05:00
Michael Mintz 2e58c2cada Add the --time-limit=s feature to fail long-running tests 2020-01-15 03:16:04 -05:00
Michael Mintz 456464b7b2 Update click_visible_elements() 2020-01-15 03:06:01 -05:00
Michael Mintz d09430db29 Small refactoring of exported SeleniumBase tours 2020-01-15 03:00:08 -05:00
Michael Mintz b3303424ef Update detection of multithreaded use 2020-01-15 02:57:45 -05:00
Michael Mintz ebec788faa Remove pytest-timeout (not thread-safe) and prevent use 2020-01-15 02:54:52 -05:00
Michael Mintz af46d5ee68 Update download_helper 2020-01-13 03:21:50 -05:00
Michael Mintz 5c96940352 Improve the logging system 2020-01-13 02:56:34 -05:00
Michael Mintz d4795d1eaf Better detection of multithreading to alter test behavior 2020-01-13 02:46:00 -05:00
Michael Mintz fe840c8b28 Add a timestamp to logs 2020-01-13 02:39:50 -05:00
Michael Mintz 8a1e9a2919 Improve method reliability 2020-01-11 13:25:39 -05:00
Michael Mintz f0d7f2a483 Refactor MasterQA mode 2020-01-10 02:13:58 -05:00
Michael Mintz ee83a6fa7d Reduce unwanted logging messages 2020-01-09 21:44:22 -05:00
Michael Mintz 509196be99 Prevent unused log folders from getting created 2020-01-08 20:29:09 -05:00
Michael Mintz 5767232bfc Add option for Chrome's Incognito mode with "--incognito" 2020-01-07 23:45:30 -05:00
Michael Mintz 140d64afef Optimize methods for switching into iframes 2020-01-04 18:54:29 -05:00
Michael Mintz a6b4806f36 Improve Firefox WebDriver usability on Linux 2020-01-02 20:28:12 -05:00
Piotr Kochan 3c0f4483d6 dont read invalid extension file 2019-12-31 14:36:33 +01:00
Piotr Kochan 7e0d96c460 travis line width 2019-12-30 13:30:22 +01:00
Piotr Kochan 5c62c984bd remove comments 2019-12-30 13:25:07 +01:00
Piotr Kochan 6f60eabb52 capabilities_parser parse ast and json 2019-12-30 13:03:40 +01:00
Michael Mintz 18c04e1a59 Update a console script that creates a boilerplate 2019-12-27 20:28:49 -05:00
Michael Mintz a19a63c903 Add save_teardown_screenshot() and refactor BaseCase 2019-12-27 20:10:58 -05:00
Michael Mintz 2910722b5b Update default logging level for WebDriver connections 2019-12-27 20:09:01 -05:00
Michael Mintz 3ce697bddb Optimize virtual display and logging code 2019-12-27 20:07:26 -05:00
Michael Mintz 770f10f09c Optimize JS by putting html <script> tags before the end of <body> 2019-12-26 15:34:50 -05:00
Michael Mintz b853569389 Update logging around making web drivers executable 2019-12-26 15:31:08 -05:00
Michael Mintz 3c8665bc68 Update example proxy list 2019-12-26 15:29:10 -05:00
Michael Mintz 5e2a54fcf8 Refactor jQuery exception code 2019-12-26 15:28:03 -05:00
Michael Mintz f562e0d2f2 Update the proxy server examples 2019-12-24 18:40:05 -05:00
Michael Mintz 95d124f810 Improve Firefox compatibility 2019-12-24 18:37:53 -05:00
Michael Mintz ec5cc783b7 Update the docs 2019-12-19 03:16:06 -05:00
Michael Mintz 23df6c7b5f Update an exception message 2019-12-11 02:32:21 -05:00
Michael Mintz ffe727e73f Update ad-blocking feature 2019-12-11 02:31:59 -05:00
Michael Mintz 06ec7ebc2d Update Chrome options when running remotely 2019-12-11 02:31:00 -05:00
Michael Mintz b585932f25 Update the example proxy list 2019-12-10 00:53:44 -05:00
Michael Mintz 28df69c2ac Refactor default browser resolutions into a settings file 2019-12-10 00:53:18 -05:00
Michael Mintz ac5a0feb82 Remove comments 2019-12-10 00:51:46 -05:00
Roger Erens 42b967f723
Update ReadMe.md
Fix typo
2019-12-09 20:06:06 +01:00
Roger Erens 7c281126f3
Update sb_mkdir.py
I've never used nosetest, but from skimming their website and other directories in your repo, it looks like 'setup.cfg' is being used for configuring nosetest.
2019-12-09 13:23:22 +01:00
Michael Mintz c0247ed909 Add mobile device testing to SeleniumBase 2019-12-09 04:03:45 -05:00
Michael Mintz 668c350afe Add built-in sleep() method, which calls time.sleep() 2019-12-07 02:04:25 -05:00
Michael Mintz 965a6f2c53 Update default ad-blocking settings 2019-12-07 01:56:17 -05:00
Michael Mintz 0673de7f5a Refactor docs and command-line arguments 2019-12-03 00:23:18 -05:00
Michael Mintz ea63de8513 Change default timeout values for the Selenium Grid 2019-12-02 02:00:53 -05:00
Michael Mintz beaccc9393 Add option to reuse the browser session between tests 2019-12-02 01:57:05 -05:00
Michael Mintz 7452015525 Configure the junit_family option explicitly in pytest.ini 2019-11-29 00:50:44 -05:00
Michael Mintz c64665b7cd Allow the use of Chinese characters in PDF testing 2019-11-29 00:13:50 -05:00
Michael Mintz 1a8abdb022 Update console scripts for showing version info 2019-11-26 02:30:27 -05:00
Michael Mintz 8016dba9bc Add click-nth-visible-element(selector, number) 2019-11-26 02:28:38 -05:00
Michael Mintz 51f2d56ffa Update timing 2019-11-26 02:27:40 -05:00
Michael Mintz ee5ec9d304 Add get_pdf_text() and use that in assert_pdf_text() 2019-11-24 22:03:01 -05:00
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