File tree 2 files changed +3
-5
lines changed
rb/lib/selenium/webdriver
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ def initialize(opts = {})
49
49
}
50
50
51
51
remote_opts . merge! ( :http_client => http_client ) if http_client
52
-
53
52
super ( remote_opts )
54
53
end
55
54
@@ -84,8 +83,6 @@ def create_capabilities(opts)
84
83
raise ArgumentError , "unknown option#{ 's' if opts . size != 1 } : #{ opts . inspect } "
85
84
end
86
85
87
- edge_options = caps [ 'edgeOptions' ] || { }
88
- caps [ 'edgeOptions' ] = edge_options
89
86
caps [ 'page_load_strategy' ] = page_load_strategy
90
87
91
88
caps
Original file line number Diff line number Diff line change @@ -80,8 +80,9 @@ def chrome(opts = {})
80
80
81
81
def edge ( opts = { } )
82
82
new ( {
83
- :browser_name => "edge" ,
84
- :platform => :windows
83
+ :browser_name => "edge" ,
84
+ :platform => :windows ,
85
+ :javascript_enabled => true
85
86
} . merge ( opts ) )
86
87
end
87
88
You can’t perform that action at this time.
0 commit comments