Skip to content

Commit 13ffbb9

Browse files
committed
[js] Fixing JS FF test that needs to add arguments.
1 parent 8aec0b9 commit 13ffbb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/selenium-webdriver/test/firefox/contextSwitching_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ suite(
3939

4040
describe('context switching', function () {
4141
beforeEach(async function () {
42-
let options = new firefox.Options()
42+
let options = env.builder().getFirefoxOptions() || new firefox.Options()
4343
options.addArguments('-remote-allow-system-access')
4444
driver = await env.builder().setFirefoxOptions(options).build()
4545
})

0 commit comments

Comments
 (0)