File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed 
lib/selenium/webdriver/common 
spec/integration/selenium/webdriver Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ def run(command)
7676          begin 
7777            stdout ,  stderr ,  status  =  Open3 . capture3 ( command ) 
7878          rescue  StandardError  =>  e 
79-             raise  Error ::WebDriverError ,  "Unsuccessful command executed: #{ command }  ,  e 
79+             raise  Error ::WebDriverError ,  "Unsuccessful command executed: #{ command }  ,  e . message 
8080          end 
8181
8282          if  status . exitstatus . positive? 
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ module WebDriver
2828        reset_driver!  do  |driver |
2929          caps  =  driver . capabilities 
3030          expect ( caps . proxy ) . to  be_nil 
31-           expect ( caps . browser_version ) . to  match ( /^\d \d \. / ) 
31+           expect ( caps . browser_version ) . to  match ( /^\d \d \d  ? \ . ) 
3232          expect ( caps . platform_name ) . not_to  be_nil 
3333
34-           expect ( caps . accept_insecure_certs ) . to  be  == false 
34+           expect ( caps . accept_insecure_certs ) . to  be  == ( caps . browser_name  ==  'firefox' ) 
3535          expect ( caps . page_load_strategy ) . to  be  == 'normal' 
3636          expect ( caps . implicit_timeout ) . to  be_zero 
3737          expect ( caps . page_load_timeout ) . to  be  == 300000 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments