Skip to content

Commit

Permalink
[js] Fix typo in text
Browse files Browse the repository at this point in the history
  • Loading branch information
pujagani committed Nov 1, 2023
1 parent 81efbf2 commit e3e8de9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions javascript/node/selenium-webdriver/test/bidi/bidi_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -682,8 +682,8 @@ suite(
describe('Browsing Context Inspector', function () {
it('can listen to window browsing context created event', async function () {
let contextInfo = null
const browsingConextInspector = await BrowsingContextInspector(driver)
await browsingConextInspector.onBrowsingContextCreated((entry) => {
const browsingcontextInspector = await BrowsingContextInspector(driver)
await browsingcontextInspector.onBrowsingContextCreated((entry) => {
contextInfo = entry
})

Expand All @@ -697,8 +697,8 @@ suite(

it('can listen to tab browsing context created event', async function () {
let contextInfo = null
const browsingConextInspector = await BrowsingContextInspector(driver)
await browsingConextInspector.onBrowsingContextCreated((entry) => {
const browsingcontextInspector = await BrowsingContextInspector(driver)
await browsingcontextInspector.onBrowsingContextCreated((entry) => {
contextInfo = entry
})

Expand All @@ -712,9 +712,9 @@ suite(
})

it('can listen to dom content loaded event', async function () {
const browsingConextInspector = await BrowsingContextInspector(driver)
const browsingcontextInspector = await BrowsingContextInspector(driver)
let navigationInfo = null
await browsingConextInspector.onDomContentLoaded((entry) => {
await browsingcontextInspector.onDomContentLoaded((entry) => {
navigationInfo = entry
})

Expand All @@ -729,9 +729,9 @@ suite(

it('can listen to browsing context loaded event', async function () {
let navigationInfo = null
const browsingConextInspector = await BrowsingContextInspector(driver)
const browsingcontextInspector = await BrowsingContextInspector(driver)

await browsingConextInspector.onBrowsingContextLoaded((entry) => {
await browsingcontextInspector.onBrowsingContextLoaded((entry) => {
navigationInfo = entry
})
const browsingContext = await BrowsingContext(driver, {
Expand Down

0 comments on commit e3e8de9

Please sign in to comment.