Skip to content

Commit

Permalink
[js] Fix typo in test
Browse files Browse the repository at this point in the history
  • Loading branch information
pujagani committed Nov 1, 2023
1 parent 014ead4 commit 81efbf2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions javascript/node/selenium-webdriver/test/bidi/bidi_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const { Browser, By, WebElement } = require('../../')
const { Pages, suite } = require('../../lib/test')
const logInspector = require('../../bidi/logInspector')
const BrowsingContext = require('../../bidi/browsingContext')
const BrowsingConextInspector = require('../../bidi/browsingContextInspector')
const BrowsingContextInspector = require('../../bidi/browsingContextInspector')
const NetworkInspector = require('../../bidi/networkInspector')
const filterBy = require('../../bidi/filterBy')
const until = require('../../lib/until')
Expand Down Expand Up @@ -682,7 +682,7 @@ suite(
describe('Browsing Context Inspector', function () {
it('can listen to window browsing context created event', async function () {
let contextInfo = null
const browsingConextInspector = await BrowsingConextInspector(driver)
const browsingConextInspector = await BrowsingContextInspector(driver)
await browsingConextInspector.onBrowsingContextCreated((entry) => {
contextInfo = entry
})
Expand All @@ -697,7 +697,7 @@ suite(

it('can listen to tab browsing context created event', async function () {
let contextInfo = null
const browsingConextInspector = await BrowsingConextInspector(driver)
const browsingConextInspector = await BrowsingContextInspector(driver)
await browsingConextInspector.onBrowsingContextCreated((entry) => {
contextInfo = entry
})
Expand All @@ -712,7 +712,7 @@ suite(
})

it('can listen to dom content loaded event', async function () {
const browsingConextInspector = await BrowsingConextInspector(driver)
const browsingConextInspector = await BrowsingContextInspector(driver)
let navigationInfo = null
await browsingConextInspector.onDomContentLoaded((entry) => {
navigationInfo = entry
Expand All @@ -729,7 +729,7 @@ suite(

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

await browsingConextInspector.onBrowsingContextLoaded((entry) => {
navigationInfo = entry
Expand Down

0 comments on commit 81efbf2

Please sign in to comment.