File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
lib/selenium/webdriver/common
spec/unit/selenium/webdriver/chrome Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,8 @@ def w3c?(key)
131131
132132 def process_w3c_options ( options )
133133 w3c_options = options . select { |key , val | w3c? ( key ) && !val . nil? }
134- w3c_options [ :unhandled_prompt_behavior ] &&= process_unhandled_prompt_behavior_value ( w3c_options [ :unhandled_prompt_behavior ] )
134+ w3c_options [ :unhandled_prompt_behavior ] &&=
135+ process_unhandled_prompt_behavior_value ( w3c_options [ :unhandled_prompt_behavior ] )
135136 options . delete_if { |key , _val | w3c? ( key ) }
136137 w3c_options
137138 end
Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ module Chrome
275275 before_unload : 'accept' ,
276276 default : :dismiss
277277 } )
278-
278+
279279 expect ( opts . as_json ) . to eq ( 'browserName' => 'chrome' ,
280280 'unhandledPromptBehavior' => {
281281 'alert' => 'accept and notify' ,
You can’t perform that action at this time.
0 commit comments