21
21
22
22
module Selenium
23
23
module WebDriver
24
- describe DevTools , exclusive : { browser : %i[ chrome edge firefox_nightly ] } do
24
+ describe DevTools , exclusive : { browser : %i[ chrome edge firefox firefox_nightly ] } do
25
25
after { reset_driver! }
26
26
27
27
it 'sends commands' do
@@ -46,7 +46,7 @@ module WebDriver
46
46
expect { driver . navigate . to url_for ( 'xhtmlTest.html' ) } . to raise_error ( RuntimeError , "This is fine!" )
47
47
end
48
48
49
- context 'authentication' , except : { browser : : firefox_nightly,
49
+ context 'authentication' , except : { browser : %i[ firefox firefox_nightly ] ,
50
50
reason : 'Fetch.enable is not yet supported' } do
51
51
let ( :username ) { SpecSupport ::RackServer ::TestApp ::BASIC_AUTH_CREDENTIALS . first }
52
52
let ( :password ) { SpecSupport ::RackServer ::TestApp ::BASIC_AUTH_CREDENTIALS . last }
@@ -94,7 +94,7 @@ module WebDriver
94
94
)
95
95
end
96
96
97
- it 'notifies about document log messages' , except : { browser : : firefox_nightly,
97
+ it 'notifies about document log messages' , except : { browser : %i[ firefox firefox_nightly ] ,
98
98
reason : 'Firefox & Chrome parse document differently' } do
99
99
logs = [ ]
100
100
driver . on_log_event ( :console ) { |log | logs . push ( log ) }
@@ -108,7 +108,7 @@ module WebDriver
108
108
)
109
109
end
110
110
111
- it 'notifies about document log messages' , only : { browser : : firefox_nightly,
111
+ it 'notifies about document log messages' , only : { browser : %i[ firefox firefox_nightly ] ,
112
112
reason : 'Firefox & Chrome parse document differently' } do
113
113
logs = [ ]
114
114
driver . on_log_event ( :console ) { |log | logs . push ( log ) }
@@ -135,7 +135,7 @@ module WebDriver
135
135
expect ( exception . stacktrace ) . not_to be_empty
136
136
end
137
137
138
- it 'notifies about DOM mutations' , except : { browser : : firefox_nightly,
138
+ it 'notifies about DOM mutations' , except : { browser : %i[ firefox firefox_nightly ] ,
139
139
reason : 'Runtime.addBinding not yet supported' } do
140
140
mutations = [ ]
141
141
driver . on_log_event ( :mutation ) { |mutation | mutations . push ( mutation ) }
@@ -151,7 +151,7 @@ module WebDriver
151
151
expect ( mutation . old_value ) . to eq ( 'display:none;' )
152
152
end
153
153
154
- context 'network interception' , except : { browser : : firefox_nightly,
154
+ context 'network interception' , except : { browser : %i[ firefox firefox_nightly ] ,
155
155
reason : 'Fetch.enable is not yet supported' } do
156
156
it 'continues requests' do
157
157
requests = [ ]
@@ -201,7 +201,7 @@ module WebDriver
201
201
end
202
202
end
203
203
204
- context 'script pinning' do
204
+ context 'script pinning' , except : { browser : %i[ firefox firefox_nightly ] } do
205
205
before do
206
206
driver . navigate . to url_for ( 'xhtmlTest.html' )
207
207
end
0 commit comments