Skip to content

Commit e8f0656

Browse files
committed
[rb] update firefox test to allow system access for changing content context
Firefox 138 now requires this
1 parent c7e096b commit e8f0656

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: rb/spec/integration/selenium/webdriver/firefox/driver_spec.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ module Firefox
143143
end
144144

145145
it 'can get and set context' do
146-
reset_driver!(prefs: {'browser.download.dir': 'foo/bar'}) do |driver|
146+
reset_driver!(args: ['-remote-allow-system-access'],
147+
prefs: {'browser.download.dir': 'foo/bar'}) do |driver|
147148
expect(driver.context).to eq 'content'
148149

149150
driver.context = 'chrome'

0 commit comments

Comments
 (0)