From 51a37df8295138fb9379da2b7caa1fa178132efe Mon Sep 17 00:00:00 2001 From: Puja Jagani Date: Mon, 17 Jun 2024 12:00:27 +0530 Subject: [PATCH] [js] Fix locate nodes BiDi test --- .../node/selenium-webdriver/test/bidi/locate_nodes_test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/node/selenium-webdriver/test/bidi/locate_nodes_test.js b/javascript/node/selenium-webdriver/test/bidi/locate_nodes_test.js index c9d4c67c8795d..5e69913b42b7f 100644 --- a/javascript/node/selenium-webdriver/test/bidi/locate_nodes_test.js +++ b/javascript/node/selenium-webdriver/test/bidi/locate_nodes_test.js @@ -33,7 +33,7 @@ suite( let driver beforeEach(async function () { - driver = await env.builder().setFirefoxOptions(new firefox.Options().enableBidi()).build() + driver = await env.builder().build() }) afterEach(async function () { @@ -178,7 +178,7 @@ suite( await browsingContext.navigate(Pages.xhtmlTestPage, 'complete') - const elements = await browsingContext.locateNodes(Locator.css('div'), 1, undefined, sandbox) + const elements = await browsingContext.locateNodes(Locator.css('div'), 1, sandbox) assert.strictEqual(elements.length, 1)