File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def start_session
4141 def default_chrome_options
4242 options = Selenium ::WebDriver ::Chrome ::Options . new
4343 options . browser_version = 'stable'
44- options . timeouts = { implicit : 1 }
44+ options . timeouts = { implicit : 1500 }
4545 options . add_argument ( 'disable-search-engine-choice-screen' )
4646 options . add_argument ( '--no-sandbox' ) if Selenium ::WebDriver ::Platform . os == :linux
4747 options
@@ -61,9 +61,11 @@ def start_firefox
6161
6262 def start_server
6363 jar = Selenium ::WebDriver ::SeleniumManager . binary_paths ( '--grid' ) [ 'driver_path' ]
64+ log_level = Selenium ::WebDriver . logger . level == :debug ? 'FINE' : 'INFO'
65+
6466 @server = Selenium ::Server . new ( jar ,
6567 background : true ,
66- log_level : 'FINE' ,
68+ log_level : log_level ,
6769 args : %w[ --selenium-manager true --enable-managed-downloads true ] )
6870 @server . start
6971 end
You can’t perform that action at this time.
0 commit comments