Commit Graph

418 Commits

Author SHA1 Message Date
Michael Mintz 89798db0a6 Handle an edge case with multiple file downloads 2020-10-06 12:56:10 -04:00
Michael Mintz 2458e34b38 Allow multiple downloads without prompts 2020-10-02 13:23:21 -04:00
Michael Mintz 0d9e27620f Prevent download prompts from appearing 2020-09-15 17:17:18 -04:00
Michael Mintz a3ae7940ca Fix autofill issues 2020-09-08 01:42:01 -04:00
Michael Mintz 119bedc916 Update Chrome options for tests running on a Selenium Grid 2020-09-02 19:15:49 -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 7f842c9746 Make improvements to Opera Chromium automation 2020-08-17 16:13:16 -04:00
Michael Mintz bc94de850f Update default Chrome and Edge (Chromium) options 2020-08-10 23:50:41 -04:00
Michael Mintz fa4a108607 Update Chromium options 2020-08-08 13:54:27 -04:00
Michael Mintz f01a92b7bc Bring back support for Microsoft Edge 2020-08-08 13:30:25 -04:00
Michael Mintz 3da18b02fb Update Firefox default settings 2020-08-04 20:19:32 -04:00
Michael Mintz 4bacd83260 If using Chrome extensions, don't use Incognito / Guest Mode 2020-07-20 20:24:14 -04:00
Michael Mintz 32c886b5b2 Don't disable Chrome's GPU if using SwiftShader 2020-07-13 20:08:50 -04:00
Michael Mintz 5d8ac4ecdc Add the "--swiftshader" command-line option 2020-07-10 21:17:19 -04:00
Michael Mintz 5456ba2cee Add default Chrome option: "--use-gl=swiftshader" 2020-07-10 17:34:59 -04:00
Michael Mintz e3d54667d8 Disable Chrome's "DNS-Prefetch" feature by default 2020-07-09 16:10:21 -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 82490abf3c Boost speed by optimizing the location of imports 2020-06-12 21:41:40 -04:00
Michael Mintz acf26652b2 Fix issues with Remote WebDriver and Selenium Grid 2020-05-22 15:42:07 -04:00
Michael Mintz 04c16550ad Better error-handling for headless mode on Linux 2020-05-10 17:00:47 -04:00
Michael Mintz de458cae51 Update Safari WebDriver launcher 2020-04-24 19:19:24 -04:00
Michael Mintz 13f60c059a Generate the desired capabilities "name" if "*" is passed 2020-04-21 15:37:37 -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 678e90a3fa Do not use "--disable-extensions" (it breaks proxy auth) 2020-04-21 13:59:11 -04:00
Michael Mintz 76a27819cc Update the browser launcher 2020-04-21 02:30:34 -04:00
Michael Mintz 75f49a1191 Add option to set capabilities with --cap-string=STRING 2020-04-19 14:40:36 -04:00
Michael Mintz 75427e9446 Add Guest Mode option (and DevTools) for Chrome 2020-04-18 01:11:03 -04:00
Michael Mintz c701a31cea Update output 2020-04-15 00:33:09 -04:00
Michael Mintz 876863f56b Update is_edgedriver_on_path() method 2020-04-15 00:32:51 -04:00
Michael Mintz 4beab88474 Add "no-sandbox" and "disable-gpu" options 2020-03-16 00:43:44 -04:00
Michael Mintz d4c41d580c Treat the Chromium Edge browser like Chrome 2020-01-22 00:54:44 -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 b3303424ef Update detection of multithreaded use 2020-01-15 02:57:45 -05:00
Michael Mintz d4795d1eaf Better detection of multithreading to alter test behavior 2020-01-13 02:46:00 -05:00
Michael Mintz ee83a6fa7d Reduce unwanted logging messages 2020-01-09 21:44:22 -05:00
Michael Mintz 5767232bfc Add option for Chrome's Incognito mode with "--incognito" 2020-01-07 23:45:30 -05:00
Michael Mintz a6b4806f36 Improve Firefox WebDriver usability on Linux 2020-01-02 20:28:12 -05:00
Michael Mintz b853569389 Update logging around making web drivers executable 2019-12-26 15:31:08 -05:00
Michael Mintz 95d124f810 Improve Firefox compatibility 2019-12-24 18:37:53 -05:00
Michael Mintz 06ec7ebc2d Update Chrome options when running remotely 2019-12-11 02:31:00 -05:00
Michael Mintz c0247ed909 Add mobile device testing to SeleniumBase 2019-12-09 04:03:45 -05:00
Michael Mintz 00bdc9ee96 Raise an exception if running multi-threaded Safari tests 2019-11-04 01:06:35 -05: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 970e9358de Update the default webdriver search path 2019-10-11 01:04:49 -04:00
Michael Mintz 15d5a29467 Add DRIVER_DIR to PATH for Selenium 4 compatibility 2019-10-04 01:12:58 -04:00
Michael Mintz d99c0731ae Update default Firefox preferences 2019-09-22 03:57:06 -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 6230b614b0 Update the default Chrome switches 2019-08-14 01:39:45 -04:00
Michael Mintz d4b6520ba3 Use w3c WebDriver for Chrome 2019-08-01 01:43:15 -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 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 f15546b168 Update command-line parameters for Chrome control 2019-07-14 01:05:47 -04:00
Michael Mintz 264a014e96 Disable urllib3 warnings 2019-06-21 10:09:00 -04:00
Michael Mintz bc88424b77 Update default Chrome options 2019-06-19 10:02:19 -04:00
Michael Mintz f0b5fead0d Make headless Chrome more reliable in Docker environments 2019-06-19 02:15:44 -04:00
Michael Mintz 3e698b6d5c Combine duplicate code from two places into one 2019-06-19 01:18:03 -04:00
Michael Mintz ea93e3ab22 Update Firefox profile settings 2019-04-18 03:48:02 -04:00
Michael Mintz 8a23baae4a Use log-level 3 for default Chrome logging 2019-04-05 16:58:23 -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 71032cf11d Keep the Content Security Policy on headless Chrome 2019-03-16 02:54:09 -04:00
Michael Mintz a1e6686a29 Disable the Content Security Policy of websites by default 2019-03-16 01:41:56 -04: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 2674a53473 Disable Chrome local_discovery pop-up notifications 2019-01-31 23:44:54 -05:00
Michael Mintz b678e44b78 Turn proxy string warnings into errors (configurable) 2019-01-31 23:42:58 -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
Michael Mintz 5abb012131 Add "desired capabilities" options for BrowserStack and Sauce Labs 2018-11-21 03:13:37 -05: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 e608f9156d Use default Chrome log-level on Windows 2018-10-18 12:31:49 -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 2ab36cc967 Handle certificates with Firefox 2018-10-05 01:20:45 -04:00
Michael Mintz ecde4035c8 Use private browsing for Firefox 2018-09-23 04:47:45 -04:00
Michael Mintz 3088ba26ad Use raw strings for regular expressions 2018-09-19 22:54:37 -04:00
Michael Mintz 043c8da232 Update browser launcher for Firefox 2018-09-19 16:42:49 -04:00
Michael Mintz fcf1d4b2f8 Set Chrome browser default window size on launch 2018-08-17 19:57:00 -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 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 a5366752af Add Opera Browser support 2018-08-07 22:05:27 -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 e7234fce6b Allow custom javascript on Firefox 2018-06-12 00:59:47 -04:00
Michael Mintz 8cf50e43aa Update acceptable proxy server input format 2018-03-21 02:40:08 -04:00
Michael Mintz 4b1933a43d Set Chrome options from a single method 2018-03-21 02:31:14 -04:00
Michael Mintz 34fb23734d Update Chrome options to improve automation 2018-03-21 00:04:16 -04: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 4b52668183 Handle PhantomJS deprecation warnings 2018-02-25 20:33:33 -05:00
Michael Mintz ad4a33560e Better exception handling in browser_launcher 2018-02-14 01:39:56 -05:00
Michael Mintz d5085f4dd6 Better exception handling. 2018-02-08 18:00:25 -05:00
Michael Mintz 0e2c569a2a Update browser_launcher.py to handle Selenium Grid runs. 2018-02-08 14:46:46 -05:00
Michael Mintz 362525d6df Add ability to run headless mode with Chrome and Firefox locally 2018-02-05 18:32:52 -05:00
Michael Mintz 077fb37e88 Disable info-bars when running in Chrome 2017-10-02 13:12:35 -04:00
Michael Mintz e54cfb3000 Have option to run Chrome in full screen mode by default 2017-10-02 12:50:50 -04:00
Michael Mintz b12b0ab927 Disable Chrome feature asking to save passwords 2017-07-12 16:51:26 -04:00
Ketan Patel 1de12470b8 Do not modify default firefox capabilities and reuse profile 2017-05-17 12:11:49 -04:00
Ketan Patel 3b2d11f493 Do not modify default firefox capabilities and reuse profile 2017-05-17 12:03:09 -04:00
Michael Mintz e13cad2817 Fix bug in browser_launcher 2017-05-12 06:42:32 -04:00
U-VERACODE\kpatel db4fd12b12 fix loading firefox profile in non-marionette mode 2017-05-01 14:04:44 -04:00
Michael Mintz 3e80aa7562 Only use Geckodriver for Firefox if it's on the PATH 2017-03-11 14:03:17 -05:00
Michael Mintz fafc3fbb26 Set default desired capabilities 2017-03-09 23:56:51 -05:00
Michael Mintz b5e861f269 Flake8 fix 2016-08-29 01:58:12 -04:00
Michael Mintz 4710d3ceac Allow all javascript content to run with WebDriver 2016-08-29 01:52:05 -04:00
Michael Mintz 003b06629f Add code for handling files downloaded during tests 2016-06-18 19:10:02 -04:00
Michael Mintz c1af9813a4 Adding Edge and Safari driver support 2016-05-30 17:00:36 -04:00
Michael Mintz 11067cf1b1 Fresh Copy 2015-12-04 16:11:53 -05:00