Commit Graph

239 Commits

Author SHA1 Message Date
Michael Mintz da45232967 Make sure "--pdb" doesn't skip tearDown() on failures 2020-10-22 09:35:02 -04:00
Michael Mintz 375e3d4ebd Add cmd option "--disable-ws". (Chrome Web Security) 2020-10-22 09:29:27 -04:00
Michael Mintz cd89abefaf Update the docs 2020-10-12 09:46:06 -04:00
Michael Mintz df0315ff0a Make sure to initialize "colorama" before using it 2020-09-09 17:20:21 -04:00
Michael Mintz 648142c6f5 Add option: "--enable-ws" to enable Chrome's Web Security 2020-08-29 21:34:00 -04:00
Michael Mintz a6db75eb10 Add the ability to set the browser's Language/Locale 2020-08-20 02:15:06 -04:00
Michael Mintz 15a3be88ce Update the docs 2020-08-17 16:28:28 -04:00
Michael Mintz 3baf9fe064 Make logging improvements to the sb pytest fixture 2020-08-14 01:58:16 -04:00
Michael Mintz 3162f856b4 Update the docs 2020-08-10 23:56:32 -04:00
Michael Mintz 3a26df6546 Refactoring command line options and docs 2020-08-08 01:04:44 -04:00
Michael Mintz c3051e6312 Can load a Chrome extension with "--crx=[CRX_FILE]" 2020-07-22 22:51:03 -04:00
Michael Mintz 5d8ac4ecdc Add the "--swiftshader" command-line option 2020-07-10 21:17:19 -04:00
Michael Mintz 9e052e8259 Add a command-line option to block images in tests 2020-07-09 16:08:32 -04:00
Michael Mintz 45c48f9e26 Add "--rs" as a simplified command arg for "--reuse-session" 2020-06-10 05:03:22 -04:00
Michael Mintz 1ba71c3b88 Fix issues with setting the time-limit in tests 2020-05-25 04:15:38 -04:00
Michael Mintz 19b7324d2f Update command-line parser for ad-blocking 2020-05-18 16:02:04 -04:00
Michael Mintz 39e4e9c4e7 Allow multithreaded browser sessions to be reused when specified 2020-05-07 02:47:14 -04:00
Michael Mintz 288137bf3b Update docs for always-enabled command-line options 2020-05-03 16:15:35 -04:00
Michael Mintz aef5904bdf "--crumbs": Delete cookies between tests reusing sessions 2020-05-03 15:58:49 -04:00
Michael Mintz 360412c736 Update comments. 2020-05-01 23:58:53 -04:00
Michael Mintz e037dbc1ed Add additional ways to set the user agent 2020-04-24 19:28:34 -04:00
Michael Mintz efa7a7c8f9 Add a cmd option to use Chrome's Automation Extension 2020-04-21 14:21:52 -04:00
Michael Mintz 4ed760cba4 Add more custom parameters for passing into tests 2020-04-21 02:33:31 -04:00
Michael Mintz 75f49a1191 Add option to set capabilities with --cap-string=STRING 2020-04-19 14:40:36 -04:00
Michael Mintz 211a0aad73 Update command line options 2020-04-18 01:25:02 -04:00
Michael Mintz 75427e9446 Add Guest Mode option (and DevTools) for Chrome 2020-04-18 01:11:03 -04:00
Michael Mintz a08d343e05 Add a docstring 2020-04-09 02:40:14 -04:00
Michael Mintz 4beab88474 Add "no-sandbox" and "disable-gpu" options 2020-03-16 00:43:44 -04:00
Michael Mintz 53f4240aac Update comments and ReadMe files 2020-02-18 02:10:36 -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 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 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 5767232bfc Add option for Chrome's Incognito mode with "--incognito" 2020-01-07 23:45:30 -05:00
Michael Mintz c0247ed909 Add mobile device testing to SeleniumBase 2019-12-09 04:03:45 -05:00
Michael Mintz 0673de7f5a Refactor docs and command-line arguments 2019-12-03 00:23:18 -05:00
Michael Mintz beaccc9393 Add option to reuse the browser session between tests 2019-12-02 01:57:05 -05:00
Michael Mintz 7379503368 Add "Slow Mode". Usage: "--slow" 2019-11-07 01:31:58 -05:00
Michael Mintz 9d30bca2d3 Update the docs 2019-11-02 23:15:20 -04:00
Michael Mintz d05cc17d8a Update and refactor command line arguments 2019-09-16 19:20:21 -04:00
Michael Mintz be736f575c Rename maximize_window option to resolve method conflict 2019-08-30 21:34:18 -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 276e9ab62f Add a settings file parser for overriding default settings 2019-08-09 04:27:34 -04:00
Michael Mintz 0ac11b1516 Add the "sb" pytest fixture 2019-08-02 02:20:46 -04:00
Michael Mintz 5c15469da3 Add the command-line option for start_page 2019-07-25 20:29:41 -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 e08e27a59a Add --headed parameter to override Linux headless mode 2019-07-25 13:50:41 -04:00
Michael Mintz e81d6493f8 Simplify demo_mode parameter 2019-07-21 14:13:25 -04:00
Michael Mintz b1ea65d74d Refactor command-line arguments (pytest) 2019-07-16 01:23:27 -04:00
Michael Mintz 1d6f764e18 Update comments 2019-07-15 00:06:43 -04:00
Michael Mintz f15546b168 Update command-line parameters for Chrome control 2019-07-14 01:05:47 -04:00
Michael Mintz b5996f946b Better error handling of screenshot files 2019-04-15 03:12:33 -04:00
Michael Mintz 3f4251a931 Add utf-8 encoding into header 2019-04-15 03:11:37 -04:00
Michael Mintz 243fecc7b7 Pass pytest_html_report to base_case.BaseCase 2019-04-14 04:58:39 -04:00
Michael Mintz dfbe75ca71 Add command line option to set/reset the visual baseline 2019-04-01 02:15:36 -04:00
Michael Mintz 2d13833f8d Add a command-line option to disable the Content Security Policy 2019-03-20 03:13:46 -04:00
Michael Mintz d0f973a8f2 Update help comments 2019-03-16 01:49:56 -04:00
Michael Mintz 0a5b20311e Add a command-line option to archive old log files. 2019-03-05 00:58:04 -05:00
Michael Mintz 6ad3dd33c7 Add the ability to save screenshots at the end of tests. 2019-03-04 23:34:06 -05:00
Michael Mintz 18539c90c6 Add the ability to set the User-Agent string for the browser 2019-02-28 04:45:14 -05:00
Michael Mintz c0e3dc402f Use sb_config instead of pytest.config for command-line options 2019-01-23 14:39:56 -05:00
Michael Mintz 226dadd3fb Spell "JavaScript" like this 2018-11-29 02:42:38 -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 81b2553dbd Add --cap_file command line option for desired capabilities 2018-11-21 03:08:26 -05: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 ea661a266d Handle cleanup of proxy zip file between test runs 2018-10-17 18:17:20 -04:00
Michael Mintz efd408ba1b Flake8 refactoring 2018-08-30 01:51:38 -04:00
Michael Mintz 15d7149ac5 Add a cmd arg for handling Messenger message duration 2018-05-07 01:03:29 -04:00
Michael Mintz 0625f2d14a Update comments 2018-04-05 23:21:23 -04:00
Michael Mintz 426e031ba4 Add ad_block command line arg for Pytest 2018-04-05 23:19:50 -04:00
Michael Mintz 39a8c9f479 Update pytest plugin 2018-03-25 21:12:59 -04:00
Michael Mintz 2fa21a9d45 Have pytest and nosetests automatically use the logging plugin 2018-03-04 17:57:15 -05:00
Michael Mintz 4361e22250 Add a command line option to set a proxy server for tests to use. 2018-03-04 12:48:50 -05:00
Michael Mintz 45f6731dee Thread-safe handling of log files for multithreaded test runs. 2018-03-04 10:43:42 -05:00
Michael Mintz d5085f4dd6 Better exception handling. 2018-02-08 18:00:25 -05:00
Michael Mintz eef973f917 Set the pytest selenium plugin to be active by default. 2018-02-08 15:04:51 -05:00
Michael Mintz 08cd7f0275 Adding "server" and "port" run options for pytest (for Selenium Grid) 2018-02-08 15:00:03 -05:00
Michael Mintz 9f699845fa Adding environment options 2018-02-01 17:04:13 -05:00
Michael Mintz 68c6ff9013 Better error handling for pytest teardown 2017-05-18 12:16:57 -04:00
Michael Mintz f30e5c8eaf Suppress some output in pytest teardown 2017-05-17 19:16:56 -04:00
ktp420 5365b37170 Remove commented out code 2017-05-16 15:34:48 -04:00
Ketan Patel 1bf4092bf3 close out zombie browser process if setup fails 2017-05-16 14:57:46 -04:00
Michael Mintz 33d09da69b Add timeout_multiplier option to boost default timeout lengths 2017-04-28 20:39:32 -04:00
Ketan Patel c1f0bd4e49 add ability save pytest html reports with screenshots 2017-04-27 15:33:27 -04:00
Ketan Patel be6fc40b08 flake8 fixes 2017-04-27 10:48:33 -04:00
Ketan Patel d792b4a093 add pytest plugin entry point so does not require coping conftest.py file 2017-04-27 10:35:33 -04:00