Skip to content

Commit

Permalink
[js] Fix locate nodes BiDi test (SeleniumHQ#14140)
Browse files Browse the repository at this point in the history
  • Loading branch information
pujagani authored and sandeepsuryaprasad committed Oct 29, 2024
1 parent ac68d35 commit 1567b1d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 1567b1d

Please sign in to comment.