From 81efbf2b7b2812003da1ed0b312883a13f2e49f4 Mon Sep 17 00:00:00 2001 From: Puja Jagani Date: Wed, 1 Nov 2023 13:52:32 +0530 Subject: [PATCH] [js] Fix typo in test --- .../node/selenium-webdriver/test/bidi/bidi_test.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/javascript/node/selenium-webdriver/test/bidi/bidi_test.js b/javascript/node/selenium-webdriver/test/bidi/bidi_test.js index 44232f3a6bcfd..ef0a1ee5d3cce 100644 --- a/javascript/node/selenium-webdriver/test/bidi/bidi_test.js +++ b/javascript/node/selenium-webdriver/test/bidi/bidi_test.js @@ -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') @@ -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 }) @@ -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 }) @@ -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 @@ -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