Skip to content

Commit

Permalink
[js] Fix locate nodes BiDi test
Browse files Browse the repository at this point in the history
  • Loading branch information
pujagani committed Jun 17, 2024
1 parent 59a25c7 commit ff0ab95
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 ff0ab95

Please sign in to comment.