From e3e8de97c0b5936468832a9b1a44defe8d6d799c Mon Sep 17 00:00:00 2001 From: Puja Jagani Date: Wed, 1 Nov 2023 14:40:12 +0530 Subject: [PATCH] [js] Fix typo in text --- .../selenium-webdriver/test/bidi/bidi_test.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/javascript/node/selenium-webdriver/test/bidi/bidi_test.js b/javascript/node/selenium-webdriver/test/bidi/bidi_test.js index ef0a1ee5d3cce..5a6f00443a6f8 100644 --- a/javascript/node/selenium-webdriver/test/bidi/bidi_test.js +++ b/javascript/node/selenium-webdriver/test/bidi/bidi_test.js @@ -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 }) @@ -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 }) @@ -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 }) @@ -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, {