webdriverio / webdriverio

Next-gen browser and mobile automation test framework for Node.js
http://webdriver.io
MIT License
9.1k stars 2.52k forks source link

[🐛 Bug]: WDIO v9.2.1 : Actions such as "click()" no longer work after switching to a frame (see "switchFrame(<context>)") #13763

Closed QArsis closed 1 month ago

QArsis commented 1 month ago

Have you read the Contributing Guidelines on issues?

WebdriverIO Version

v9.2.1

Node.js Version

v22.8.0

Mode

WDIO Testrunner

Which capabilities are you using?

{
  browserName: 'chrome',
    acceptInsecureCerts: true,
    'goog:chromeOptions': {
        args: [
            '--disable-infobars',
            '--disable-search-engine-choice-screen',
            '--disable-notifications',
            '--disable-popup-blocking',
            '--window-size=1050,1000',
            '--disable-setuid-sandbox',
            '--disable-dev-shm-usage',
            '--crash-dumps-dir=./tmp',
            '--disable-gpu',
            '--lang=en',
        ]
    }'
}

With Windows 11.

What happened?

Hello! I'm currently playing with the latest version v9.2.1 published 2 days ago, as I was waiting for the Iframe fixes about checking visibility (see issue https://github.com/webdriverio/webdriverio/pull/13721 for example). I followed the documentation https://webdriver.io/docs/api/browser/switchFrame and confirm that new "switchFrame(...)" method works and that I can now use wdio methods such as "isExisting()" or "waitForExist()" as expected.

But... Now, actions such as "setValue('...')" or "click()" while being in the frame do no longer work.

Straight-forward example (nothing special to know about, my test page is very simple and contains one Iframe):

await browser.$('#myButton').isExisting(); // Not found, as expected
await browser.switchFrame(() => $('#myButton').isExisting()); // OK 
await browser.$('#myButton').waitForExist({ timeout: 5000 }); // OK
await browser.$('#myButton').click(); // KO!

Note that these wdio "action" methods worked in previous versions (using "switchToFrame()"), even with the previous v9 last week. I was stucked with the "wait" methods not working in v9 as I always check if element exists before using it. And now, the problem is "reversed".

What is your expected behavior?

After switching to an iframe, actions methods like a simple "click()" work for elements inside the iframe we switched on.

How to reproduce the bug.

Launch a new test executing these WDIO commands. See comments for the test follow-up.

Note: The tested page contains nested iframes. Initially, I was testing with a simpler page with a single iframe. Looks like "switchFrame()" handles the nested frames use case well, which is nice! So, even if it looks more complex than my real test page, I think this is a valid test. The final behavior is the same.

// Navigate to demo page
await browser.navigateTo('https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe');

// Handle cookie consent popup if needed
try {
    await browser.$('#accept-choices').waitForExist({ timeout: 5000 });
    await browser.$('#accept-choices').click();
} catch (e) {
    console.log("Cookies consent not showing for some reason, let's continue");
}

// Wait for result iframe to exist
await browser.$('#iframeResult').waitForExist({ timeout: 10000 });

// Check that the element in iframe is not found for now
console.log('Iframe element should not be found for now (should return false) => ', await $('#w3-logo').isExisting());

// Switch in the iframe with our element selector
await browser.switchFrame(() => $('#w3-logo').isExisting());

// Enlarge the iframe we want to test for better visibility
await browser.execute(() => {
    const iframe = window.frameElement;
    iframe.style.height = '400px';
    iframe.style.width = '400px';
});

// Let's make sure we switched in the iframe by checking we now find our iframe element
await browser.$('#w3-logo').waitForExist({ timeout: 5000 }); // OK no error
console.log('Iframe element should now be found (should return true) => ', await $('#w3-logo').isExisting()); // OK

// Handle again cookies consent popup but in iframe : problem is visible when trying to click on Accept...
try {
    await browser.$('#accept-choices').waitForExist({ timeout: 5000 });
    await browser.$('#accept-choices').click();
    await browser.pause(5000); // Take some time to observe nothing happened
} catch (e) {
    console.log("Cookies consent not showing in iframe for some reason, let's continue");
}

// Try to click on our element (in case no cookies consent popup appears) : not working either
await browser.$('#w3-logo').click();
await browser.pause(5000); // Take some time to observe nothing happened

Relevant log output

When action occurs, no error shows up. But nothing happened actually. However, I also tried debugging with "browser.debug()" and console returns...

browser.switchFrame(() => $('#w3-logo').isExisting());
browser.$('#w3-logo').click();
error: 'no such element',
  message: 'no such element: element not found\n  (Session info: chrome=129.0.6668.90)',
  stacktrace: '\tGetHandleVerifier [0x00007FF7133CB645+29573]\n' +
(...)

Complete logs :

[0-0] RUNNING in chrome - file:///C:/Users/toto/AutoTests/src/features/tsp/tsp.feature
[0-0] 2024-10-15T08:31:50.588Z DEBUG @wdio/runner: init remote session
[0-0] 2024-10-15T08:31:50.591Z INFO webdriver: Initiate new session using the WebDriver protocol
[0-0] 2024-10-15T08:31:50.608Z INFO webdriver: Using Chromedriver v129.0.6668.90 from cache directory C:\Users\toto\AppData\Local\Temp
[0-0] 2024-10-15T08:31:50.637Z INFO chromedriver: Starting ChromeDriver 129.0.6668.90 (abb728f8afc6a86cc66b1313f5056728ce422ddd-refs/branch-heads/6668@{#1504}) on port 12580
[0-0] 2024-10-15T08:31:50.638Z INFO chromedriver: Remote connections are allowed by an allowlist (0.0.0.0).
[0-0] 2024-10-15T08:31:50.638Z INFO chromedriver: Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
[0-0] 2024-10-15T08:31:50.642Z INFO chromedriver: ChromeDriver was started successfully on port 12580.
[0-0] 2024-10-15T08:31:51.645Z INFO @wdio/utils: Started Chromedriver v129.0.6668.90 with params --port=12580 --allowed-origins=* --allowed-ips=0.0.0.0 in 1053ms on port 12580
[0-0] 2024-10-15T08:31:51.650Z INFO webdriver: [POST] http://localhost:12580/session
[0-0] 2024-10-15T08:31:51.651Z INFO webdriver: DATA {
[0-0]   capabilities: {
[0-0]     alwaysMatch: {
[0-0]       browserName: 'chrome',
[0-0]       acceptInsecureCerts: true,
[0-0]       'goog:chromeOptions': [Object],
[0-0]       webSocketUrl: true
[0-0]     },
[0-0]     firstMatch: [ {} ]
[0-0]   }
[0-0] }
DevTools listening on ws://127.0.0.1:12587/devtools/browser/2bafba95-499b-4c3b-8874-d8ee6a798d41
[0-0] 2024-10-15T08:31:52.596Z INFO webdriver: Register BiDi handler for session with id 5ce000d7ca6375ef07bd252b6e238102
[0-0] 2024-10-15T08:31:52.596Z INFO webdriver: Connect to webSocketUrl ws://127.0.0.1:12580/session/5ce000d7ca6375ef07bd252b6e238102
[0-0] 2024-10-15T08:31:52.613Z INFO webdriver: Connected session to Bidi protocol
[0-0] 2024-10-15T08:31:52.613Z INFO webdriver: Connected session to Bidi protocol
[0-0] 2024-10-15T08:31:52.613Z INFO webdriver: Connected to WebDriver Bidi interface at ws://127.0.0.1:12580/session/5ce000d7ca6375ef07bd252b6e238102
[0-0] 2024-10-15T08:31:52.614Z INFO webdriver: BIDI COMMAND session.subscribe {"events":["browsingContext.navigationStarted"]}
[0-0] 2024-10-15T08:31:52.618Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:52.621Z INFO webdriver: BIDI COMMAND session.subscribe {"events":["log.entryAdded","browsingContext.navigationStarted"]}
[0-0] 2024-10-15T08:31:52.622Z INFO webdriver: BIDI COMMAND script.addPreloadScript { functionDeclaration: <PreloadScript[1267 bytes]>, contexts: undefined }
[0-0] 2024-10-15T08:31:52.623Z INFO webdriver: BIDI COMMAND session.subscribe {"events":["browsingContext.navigationStarted","network.responseCompleted","network.beforeRequestSent","network.fetchError"]}
[0-0] 2024-10-15T08:31:52.624Z INFO webdriver: BIDI COMMAND session.subscribe {"events":["browsingContext.userPromptOpened"]}
[0-0] 2024-10-15T08:31:52.624Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:52.627Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:52.628Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:52.635Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:52.637Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[220 bytes]>","awaitPromise":true,"arguments":[{"type":"string","value":"var __defProp = Object.defineProperty;var __name = function (target, value) { return __defProp(target, 'name', { value: value, configurable: true }); };var __globalThis = (typeof globalThis === 'object' && globalThis) || (typeof window === 'object' && window);__globalThis.__name = __name;"}],"target":{"context":"90EB10C3FC1566CF55E9D002CDA97D32"}}
[0-0] 2024-10-15T08:31:52.648Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:52.649Z INFO webdriver: BIDI COMMAND script.addPreloadScript { functionDeclaration: <PreloadScript[482 bytes]>, contexts: ["90EB10C3FC1566CF55E9D002CDA97D32"] }
[0-0] 2024-10-15T08:31:52.662Z DEBUG webdriver: BIDI RESULT {"id":1,"result":{},"type":"success"}
[0-0] 2024-10-15T08:31:52.664Z DEBUG webdriver: BIDI RESULT {"id":2,"result":{},"type":"success"}
[0-0] 2024-10-15T08:31:52.667Z DEBUG webdriver: BIDI RESULT {"id":5,"result":{},"type":"success"}
[0-0] 2024-10-15T08:31:52.669Z DEBUG webdriver: BIDI RESULT {"id":3,"result":{"script":"ac7bfa82-8c88-4ab2-bdec-56112343bbdc"},"type":"success"}
[0-0] 2024-10-15T08:31:52.671Z DEBUG webdriver: BIDI RESULT {"id":4,"result":{},"type":"success"}
[0-0] 2024-10-15T08:31:52.674Z DEBUG webdriver: BIDI RESULT {"id":6,"result":{"realm":"-3913739771684936663.-4195536168478579178","result":{"type":"undefined"},"type":"success"},"type":"success"}
[0-0] 2024-10-15T08:31:52.676Z DEBUG webdriver: BIDI RESULT {"id":7,"result":{"script":"47ed8e8c-9128-4cdf-a84b-cc75e0d0990c"},"type":"success"}
[0-0] 2024-10-15T08:31:52.678Z INFO webdriver: BIDI COMMAND session.subscribe {"events":["script.message"]}
[0-0] 2024-10-15T08:31:52.683Z DEBUG webdriver: BIDI RESULT {"id":8,"result":{},"type":"success"}
[0-0] 2024-10-15T08:31:52.683Z INFO webdriverio:PolyfillManager: polyfill script added
[0-0] 2024-10-15T08:31:52.685Z INFO @wdio/visual-service: Adding commands to global browser
[0-0] 2024-10-15T08:31:52.686Z INFO @wdio/visual-service: Adding element command "saveElement" to browser object
[0-0] 2024-10-15T08:31:52.687Z INFO @wdio/visual-service: Adding element command "checkElement" to browser object
[0-0] 2024-10-15T08:31:52.688Z INFO @wdio/visual-service: Adding browser command "saveScreen" to browser object
[0-0] 2024-10-15T08:31:52.688Z INFO @wdio/visual-service: Adding browser command "saveFullPageScreen" to browser object
[0-0] 2024-10-15T08:31:52.689Z INFO @wdio/visual-service: Adding browser command "saveTabbablePage" to browser object
[0-0] 2024-10-15T08:31:52.690Z INFO @wdio/visual-service: Adding browser command "checkScreen" to browser object
[0-0] 2024-10-15T08:31:52.691Z INFO @wdio/visual-service: Adding browser command "checkFullPageScreen" to browser object
[0-0] 2024-10-15T08:31:52.691Z INFO @wdio/visual-service: Adding browser command "checkTabbablePage" to browser object
[0-0] 2024-10-15T08:31:52.691Z INFO @wdio/visual-service: Adding browser command "waitForStorybookComponentToBeLoaded" to browser object
[0-0] 2024-10-15T08:31:52.693Z DEBUG @wdio/utils:shim: Finished to run "before" hook in 7ms
[0-0] 2024-10-15T08:31:52.980Z DEBUG @wdio/utils:shim: Finished to run "beforeScenario" hook in 0ms
[0-0] === CURRENT STEP === As user S I make custom tests
[0-0] 2024-10-15T08:31:52.982Z DEBUG @wdio/utils:shim: Finished to run "beforeStep" hook in 0ms
[0-0] OK
[0-0] 2024-10-15T08:31:52.985Z INFO webdriver: COMMAND navigateTo("https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe")
[0-0] 2024-10-15T08:31:52.986Z INFO webdriver: [POST] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/url
[0-0] 2024-10-15T08:31:52.986Z INFO webdriver: DATA {
[0-0]   url: 'https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe'
[0-0] }
[0-0] 2024-10-15T08:31:53.000Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:53.001Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:53.335Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:53.336Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:53.344Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:53.345Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:53.517Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:53.517Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:53.523Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:53.524Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:53.542Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:53.543Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:53.672Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:53.672Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:53.680Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:53.681Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:53.690Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:53.691Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:53.702Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:53.702Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:54.052Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:54.053Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:54.259Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:54.260Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:54.266Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:54.266Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:54.313Z INFO webdriver: RESULT null
[0-0] 2024-10-15T08:31:54.319Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#accept-choices"},"context":"90EB10C3FC1566CF55E9D002CDA97D32"}
[0-0] 2024-10-15T08:31:54.322Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:54.327Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:54.329Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:54.332Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:54.335Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:54.339Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:54.343Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:54.345Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:54.347Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:54.350Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:54.352Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:54.354Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:54.356Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:54.364Z DEBUG webdriver: BIDI RESULT {"id":9,"result":{"nodes":[{"sharedId":"f.90EB10C3FC1566CF55E9D002CDA97D32.d.7053DB32C7BB2D55D741E51CA8D69491.e.31","type":"node","value":{"attributes":{"class":"sn-b-def  sn-blue","id":"accept-choices"},"childNodeCount":1,"localName":"div","namespaceURI":"http://www.w3.org/1999/xhtml","nodeType":1,"shadowRoot":null}}]},"type":"success"}
[0-0] 2024-10-15T08:31:54.379Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#accept-choices"},"context":"90EB10C3FC1566CF55E9D002CDA97D32"}
[0-0] 2024-10-15T08:31:54.385Z DEBUG webdriver: BIDI RESULT {"id":10,"result":{"nodes":[{"sharedId":"f.90EB10C3FC1566CF55E9D002CDA97D32.d.7053DB32C7BB2D55D741E51CA8D69491.e.31","type":"node","value":{"attributes":{"class":"sn-b-def  sn-blue","id":"accept-choices"},"childNodeCount":1,"localName":"div","namespaceURI":"http://www.w3.org/1999/xhtml","nodeType":1,"shadowRoot":null}}]},"type":"success"}
[0-0] 2024-10-15T08:31:54.394Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#accept-choices"},"context":"90EB10C3FC1566CF55E9D002CDA97D32"}
[0-0] 2024-10-15T08:31:54.403Z DEBUG webdriver: BIDI RESULT {"id":11,"result":{"nodes":[{"sharedId":"f.90EB10C3FC1566CF55E9D002CDA97D32.d.7053DB32C7BB2D55D741E51CA8D69491.e.31","type":"node","value":{"attributes":{"class":"sn-b-def  sn-blue","id":"accept-choices"},"childNodeCount":1,"localName":"div","namespaceURI":"http://www.w3.org/1999/xhtml","nodeType":1,"shadowRoot":null}}]},"type":"success"}
[0-0] 2024-10-15T08:31:54.408Z INFO webdriver: COMMAND elementClick("f.90EB10C3FC1566CF55E9D002CDA97D32.d.7053DB32C7BB2D55D741E51CA8D69491.e.31")
[0-0] 2024-10-15T08:31:54.408Z INFO webdriver: [POST] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/element/f.90EB10C3FC1566CF55E9D002CDA97D32.d.7053DB32C7BB2D55D741E51CA8D69491.e.31/click
[0-0] 2024-10-15T08:31:54.490Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:54.491Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:54.505Z INFO webdriver: RESULT null
[0-0] 2024-10-15T08:31:54.506Z DEBUG @wdio/utils:shim: Finished to run "afterCommand" hook in 1ms
[0-0] 2024-10-15T08:31:54.508Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#iframeResult"},"context":"90EB10C3FC1566CF55E9D002CDA97D32"}
[0-0] 2024-10-15T08:31:54.511Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:54.548Z DEBUG webdriver: BIDI RESULT {"id":12,"result":{"nodes":[{"sharedId":"f.90EB10C3FC1566CF55E9D002CDA97D32.d.7053DB32C7BB2D55D741E51CA8D69491.e.32","type":"node","value":{"attributes":{"allowfullscreen":"true","frameborder":"0","id":"iframeResult","name":"iframeResult"},"childNodeCount":0,"localName":"iframe","namespaceURI":"http://www.w3.org/1999/xhtml","nodeType":1,"shadowRoot":null}}]},"type":"success"}
[0-0] 2024-10-15T08:31:54.552Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#iframeResult"},"context":"90EB10C3FC1566CF55E9D002CDA97D32"}
[0-0] 2024-10-15T08:31:54.669Z DEBUG webdriver: BIDI RESULT {"id":13,"result":{"nodes":[{"sharedId":"f.90EB10C3FC1566CF55E9D002CDA97D32.d.7053DB32C7BB2D55D741E51CA8D69491.e.32","type":"node","value":{"attributes":{"allowfullscreen":"true","frameborder":"0","id":"iframeResult","name":"iframeResult"},"childNodeCount":0,"localName":"iframe","namespaceURI":"http://www.w3.org/1999/xhtml","nodeType":1,"shadowRoot":null}}]},"type":"success"}
[0-0] 2024-10-15T08:31:54.676Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#w3-logo"},"context":"90EB10C3FC1566CF55E9D002CDA97D32"}
[0-0] 2024-10-15T08:31:54.824Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:54.824Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:54.912Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:54.913Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:55.013Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:55.014Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:55.121Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:55.121Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:55.133Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:55.228Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:55.228Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:55.233Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:55.233Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:55.235Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:55.247Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:55.248Z DEBUG @wdio/utils:shim: Finished to run "afterCommand" hook in 1ms
[0-0] 2024-10-15T08:31:55.316Z DEBUG webdriver: BIDI RESULT {"id":14,"result":{"nodes":[]},"type":"success"}
[0-0] 2024-10-15T08:31:55.321Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#w3-logo"},"context":"90EB10C3FC1566CF55E9D002CDA97D32"}
[0-0] 2024-10-15T08:31:55.325Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:55.325Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:55.386Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:55.387Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:55.727Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:55.729Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:55.776Z DEBUG webdriver: BIDI RESULT {"id":15,"result":{"nodes":[]},"type":"success"}
[0-0] Iframe element should not be found for now (should return false) =>  false
[0-0] BEFORE SWITCHING TO IFRAME
[0-0] 2024-10-15T08:31:55.782Z INFO webdriver: BIDI COMMAND browsingContext.getTree {}
[0-0] 2024-10-15T08:31:55.798Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:55.799Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:55.810Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:55.880Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:55.881Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:55.885Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:55.912Z DEBUG webdriver: BIDI RESULT {"id":16,"result":{"contexts":[{"children":[{"children":[{"children":[{"children":[],"context":"6FC9E1732CC2D930590F6FF3123DA92A","originalOpener":null,"url":"https://www.w3schools.com/howto/tryhow_js_slideshow_ifr.htm","userContext":"default"},{"children":[],"context":"49A186F9F6DD800BA008DD6DCA0587E9","originalOpener":null,"url":"about:blank","userContext":"default"},{"children":[],"context":"D539E9C7DEB11C42C5F709422B5DB816","originalOpener":null,"url":"about:blank","userContext":"default"},{"children":[],"context":"54D965C197961B19C40EDADC30E4C626","originalOpener":null,"url":"about:blank","userContext":"default"}],"context":"684432C1EE2EA4F8A052BE3A3A524D3C","originalOpener":null,"url":"https://www.w3schools.com/","userContext":"default"}],"context":"B5F7E4AC91B24186C5C1B223A0AD8543","originalOpener":null,"url":"about:blank","userContext":"default"},{"children":[],"context":"BE8DB2F8B55A60C3B7146870F6AC892D","originalOpener":null,"url":"about:blank","userContext":"default"},{"children":[],"context":"94E8FA48DC8BC8CFBC6389BCEC08A4F6","originalOpener":null,"url":"about:blank","userContext":"default"},{"children":[],"context":"8702EECA90F57BB0375CB2EFBC305CC4","originalOpener":null,"url":"about:blank","userContext":"default"},{"children":[],"context":"627D93BD715C62D057411CBF0A4FABCD","originalOpener":null,"url":"about:blank","userContext":"default"},{"children":[],"context":"0359BA12D706EFD9E8A22693FD60EC5D","originalOpener":null,"url":"about:blank","userContext":"default"},{"children":[],"context":"AF0CB971AED325B688086D3F87993B54","originalOpener":null,"url":"about:blank","userContext":"default"},{"children":[],"context":"2BBD4505BA0623443DB6E897A4C70555","originalOpener":null,"url":"https://securepubads.g.doubleclick.net/static/topics/topics_frame.html","userContext":"default"},{"children":[],"context":"6091CD8F15A138F17EFB0A2F7A575BC4","originalOpener":null,"url":"https://td.doubleclick.net/td/ga/rul?tid=G-9YNMTB56NB&gacid=342102182.1728981115&gtm=45je4a90v9104228927z8846712008za200zb846712008&dma=1&dma_cps=syphamo&gcs=G111&gcd=13r3rPr2r5l1&npa=0&pscdl=noapi&aip=1&fledge=1&frm=0&tag_exp=101529665~101686685&z=690848068","userContext":"default"},{"children":[],"context":"139F5273CE68D39B4AA16E086B31B4FE","originalOpener":null,"url":"about:blank","userContext":"default"},{"children":[],"context":"F032B4DC0438EAFA8079E1D56523BE7A","originalOpener":null,"url":"https://gum.criteo.com/syncframe?origin=publishertagids&topUrl=www.w3schools.com&gdpr=1&gdpr_consent=CQGh8vAQGh8vADlBWAENBIFsAP_gAEPgACiQKdNV_G__bXlv-X736ftkeY1f9_h77sQxBhfJs-4FzLvW_JwX32EzNE36tqYKmRIAu3bBIQNtGJjUTVChaogVrzDsaE2coTtKJ-BkiHMRc2dYCF5vm4tj-QKZ5vr_91d52R_t7dr-3dzyz5Vnv3a9_-b1WJidK5-tH_v_bROb-_I-9_x-_4v8_N_rE2_eT1t_tWvt739-8tv___f99___________3_-__wU6AJMNCogDLAkJCDQMIIEAKgrCAigQAAAAkDRAQAmDAp2BgEusJEAIAUAAwQAgABRkACAAACABCIAIACgQAAQCBQABgAQDAQAEDAACACwEAgABAdAxTAggUCwASMyIhTAhCASCAlsqEEgCBBXCEIs8AiAREwUAAAAABWAAICwWBxJICVCQQJcQbQAAEACAQQAFCCTkwABAGbLUHgybRlaYBo-YJENMAyAAAA#{%22lwid%22:{%22origin%22:0},%22bundle%22:{%22origin%22:0},%22optout%22:{%22value%22:false,%22origin%22:0},%22tld%22:%22w3schools.com%22,%22topUrl%22:%22www.w3schools.com%22,%22version%22:157,%22cw%22:true,%22lsw%22:true,%22origin%22:%22publishertagids%22,%22requestId%22:%220.035415602045172356%22}","userContext":"default"},{"children":[],"context":"1FDC97CB441BF14A2AC70BA8F96569D9","originalOpener":null,"url":"https://u.openx.net/w/1.0/cm?id=891039ac-a916-42bb-a651-4be9e3b201da&ph=a3aece0c-9e80-4316-8deb-faf804779bd1&gdpr=1&gdpr_consent=CQGh8vAQGh8vADlBWAENBIFsAP_gAEPgACiQKdNV_G__bXlv-X736ftkeY1f9_h77sQxBhfJs-4FzLvW_JwX32EzNE36tqYKmRIAu3bBIQNtGJjUTVChaogVrzDsaE2coTtKJ-BkiHMRc2dYCF5vm4tj-QKZ5vr_91d52R_t7dr-3dzyz5Vnv3a9_-b1WJidK5-tH_v_bROb-_I-9_x-_4v8_N_rE2_eT1t_tWvt739-8tv___f99___________3_-__wU6AJMNCogDLAkJCDQMIIEAKgrCAigQAAAAkDRAQAmDAp2BgEusJEAIAUAAwQAgABRkACAAACABCIAIACgQAAQCBQABgAQDAQAEDAACACwEAgABAdAxTAggUCwASMyIhTAhCASCAlsqEEgCBBXCEIs8AiAREwUAAAAABWAAICwWBxJICVCQQJcQbQAAEACAQQAFCCTkwABAGbLUHgybRlaYBo-YJENMAyAAAA&r=https%3A%2F%2Fadserv-fra1.snigelweb.com%2Fpbs%2Fv1%2Fsetuid%3Fbidder%3Dopenx%26gdpr%3D1%26gdpr_consent%3DCQGh8vAQGh8vADlBWAENBIFsAP_gAEPgACiQKdNV_G__bXlv-X736ftkeY1f9_h77sQxBhfJs-4FzLvW_JwX32EzNE36tqYKmRIAu3bBIQNtGJjUTVChaogVrzDsaE2coTtKJ-BkiHMRc2dYCF5vm4tj-QKZ5vr_91d52R_t7dr-3dzyz5Vnv3a9_-b1WJidK5-tH_v_bROb-_I-9_x-_4v8_N_rE2_eT1t_tWvt739-8tv___f99___________3_-__wU6AJMNCogDLAkJCDQMIIEAKgrCAigQAAAAkDRAQAmDAp2BgEusJEAIAUAAwQAgABRkACAAACABCIAIACgQAAQCBQABgAQDAQAEDAACACwEAgABAdAxTAggUCwASMyIhTAhCASCAlsqEEgCBBXCEIs8AiAREwUAAAAABWAAICwWBxJICVCQQJcQbQAAEACAQQAFCCTkwABAGbLUHgybRlaYBo-YJENMAyAAAA%26gpp%3D%26gpp_sid%3D%26f%3Db%26uid%3D%7BOPENX_ID%7D","userContext":"default"},{"children":[],"context":"D23EE0F8223E6DCD9A3F8FB466CDECAE","originalOpener":null,"url":"https://google-bidout-d.openx.net/w/1.0/pd?plm=5","userContext":"default"},{"children":[],"context":"3C200C7E361E758DE9C9272CBC38D67C","originalOpener":null,"url":"","userContext":"default"},{"children":[],"context":"3236533D3597DC5D9121DEC9DF497DA5","originalOpener":null,"url":"","userContext":"default"},{"children":[],"context":"A0D604E84196C4FDEF019522584026BB","originalOpener":null,"url":"about:blank","userContext":"default"},{"children":[],"context":"F49BA28AB4EC91A2631F0C4EA24B18E4","originalOpener":null,"url":"about:blank","userContext":"default"}],"context":"90EB10C3FC1566CF55E9D002CDA97D32","originalOpener":null,"parent":null,"url":"https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe","userContext":"default"}]},"type":"success"}
[0-0] 2024-10-15T08:31:55.914Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#w3-logo"},"context":"B5F7E4AC91B24186C5C1B223A0AD8543"}
[0-0] 2024-10-15T08:31:55.920Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:55.920Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:55.926Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:56.171Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.171Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.180Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:56.290Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.291Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.295Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:56.837Z WARN webdriverio:ShadowRootManager: Expected element with shadow root but found <amp-img />
[0-0] 2024-10-15T08:31:56.850Z WARN webdriverio:ShadowRootManager: Expected element with shadow root but found <amp-ad-exit />
[0-0] 2024-10-15T08:31:56.860Z WARN webdriverio:ShadowRootManager: Expected element with shadow root but found <amp-analytics />
[0-0] 2024-10-15T08:31:56.862Z WARN webdriverio:ShadowRootManager: Expected element with shadow root but found <amp-analytics />
[0-0] 2024-10-15T08:31:56.864Z WARN webdriverio:ShadowRootManager: Expected element with shadow root but found <amp-analytics />
[0-0] 2024-10-15T08:31:56.867Z WARN webdriverio:ShadowRootManager: Expected element with shadow root but found <amp-fit-text />
[0-0] 2024-10-15T08:31:56.869Z WARN webdriverio:ShadowRootManager: Expected element with shadow root but found <amp-fit-text />
[0-0] 2024-10-15T08:31:56.872Z WARN webdriverio:ShadowRootManager: Expected element with shadow root but found <amp-fit-text />
[0-0] 2024-10-15T08:31:56.877Z WARN webdriverio:ShadowRootManager: Expected element with shadow root but found <amp-img />
[0-0] 2024-10-15T08:31:56.888Z WARN webdriverio:ShadowRootManager: Expected element with shadow root but found <amp-pixel />
[0-0] 2024-10-15T08:31:56.898Z WARN webdriverio:ShadowRootManager: Expected element with shadow root but found <amp-pixel />
[0-0] 2024-10-15T08:31:56.904Z WARN webdriverio:ShadowRootManager: Expected element with shadow root but found <amp-pixel />
[0-0] 2024-10-15T08:31:56.909Z DEBUG webdriver: BIDI RESULT {"id":17,"result":{"nodes":[]},"type":"success"}
[0-0] 2024-10-15T08:31:56.916Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#w3-logo"},"context":"B5F7E4AC91B24186C5C1B223A0AD8543"}
[0-0] 2024-10-15T08:31:56.917Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.918Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.922Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.924Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.933Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.934Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.938Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.940Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.944Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.944Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.949Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.949Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.951Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.952Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.953Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.954Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.956Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.957Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.960Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.961Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.965Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.966Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.968Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.969Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.971Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.972Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.979Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.980Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.982Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.983Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:56.986Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:56.987Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:57.192Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:57.194Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:57.196Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:57.198Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:57.200Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:57.201Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:57.203Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:57.205Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:57.207Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:57.209Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:57.210Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:57.213Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:57.214Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:57.216Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:57.219Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:57.221Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[27000:37800:1015/103157.379:ERROR:ssl_client_socket_impl.cc(882)] handshake failed; returned -1, SSL error code 1, net_error -100
[27000:37800:1015/103157.492:ERROR:ssl_client_socket_impl.cc(882)] handshake failed; returned -1, SSL error code 1, net_error -100
[0-0] 2024-10-15T08:31:58.113Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:58.114Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:58.118Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:58.438Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:58.439Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:58.451Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:58.452Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:58.457Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:58.457Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:58.489Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:58.489Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:58.589Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:58.589Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:58.593Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:58.593Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:58.597Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:58.598Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:58.601Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:58.602Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:58.962Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:58.964Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:58.966Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:58.968Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:58.970Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:58.971Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:58.973Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:58.976Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:59.007Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:59.008Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:59.015Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:59.015Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:59.017Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:59.020Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:59.034Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:59.035Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:59.042Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:59.069Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:59.070Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:59.082Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:59.084Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:59.085Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:59.087Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:59.088Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:59.090Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:59.092Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:59.093Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:59.098Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:59.100Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:59.107Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:59.108Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:59.116Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:59.118Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:59.119Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:59.125Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:59.128Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:59.129Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:59.136Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:31:59.152Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:31:59.153Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:31:59.159Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.486Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.487Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.489Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.490Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.503Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.504Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.518Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.519Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.532Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.533Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.535Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.536Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.540Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.540Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.544Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.548Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.550Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.552Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.554Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.556Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.558Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.572Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.573Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.582Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.583Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.592Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.592Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.602Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.602Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.632Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.633Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.637Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.637Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.653Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.654Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.656Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.657Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.658Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.659Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.729Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.731Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.733Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.735Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.737Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.739Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.741Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.743Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.746Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.747Z DEBUG @wdio/utils:shim: Finished to run "afterCommand" hook in 1ms
[0-0] 2024-10-15T08:32:00.924Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.925Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.926Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:00.927Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:00.930Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:00.932Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.162Z DEBUG webdriver: BIDI RESULT {"id":18,"result":{"nodes":[]},"type":"success"}
[0-0] 2024-10-15T08:32:01.166Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#w3-logo"},"context":"684432C1EE2EA4F8A052BE3A3A524D3C"}
[0-0] 2024-10-15T08:32:01.286Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.287Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.289Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.290Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.292Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.294Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.296Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.296Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.297Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.298Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.299Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.300Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.302Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.304Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.307Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.309Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.310Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.312Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.313Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.315Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.316Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.318Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.322Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.326Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.332Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.332Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.335Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.336Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.342Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.345Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.368Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.368Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.377Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.484Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.484Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.489Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.500Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.500Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.504Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.505Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.507Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.510Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.511Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.515Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.515Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.518Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.519Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.526Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.527Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.529Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.535Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.536Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.554Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.556Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.558Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.559Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.561Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.562Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.573Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.575Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.750Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.751Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.757Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.775Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.775Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.817Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:01.823Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:01.823Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:01.866Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:02.014Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:02.015Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:02.016Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:02.017Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:02.039Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:02.040Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:02.157Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:02.158Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:02.162Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:02.628Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:02.628Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:02.635Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:02.691Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:02.692Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:02.700Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:02.707Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:02.707Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:02.711Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:02.711Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:02.713Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:02.714Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:02.715Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:02.722Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:02.726Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:02.888Z DEBUG webdriver: BIDI RESULT {"id":19,"result":{"nodes":[{"sharedId":"f.684432C1EE2EA4F8A052BE3A3A524D3C.d.D804CDC8A0C03C6E817C654B75165994.e.53","type":"node","value":{"attributes":{"aria-label":"Home link","class":"w3-bar-item w3-button w3-hover-none w3-left ga-top ga-top-w3home","href":"https://www.w3schools.com","id":"w3-logo","style":"width: 75px","title":"Home"},"childNodeCount":3,"localName":"a","namespaceURI":"http://www.w3.org/1999/xhtml","nodeType":1,"shadowRoot":null}}]},"type":"success"}
[0-0] 2024-10-15T08:32:02.893Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#w3-logo"},"context":"684432C1EE2EA4F8A052BE3A3A524D3C"}
[0-0] 2024-10-15T08:32:02.913Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:02.914Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:02.919Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:03.045Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:03.046Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:03.050Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:03.120Z DEBUG webdriver: BIDI RESULT {"id":20,"result":{"nodes":[{"sharedId":"f.684432C1EE2EA4F8A052BE3A3A524D3C.d.D804CDC8A0C03C6E817C654B75165994.e.53","type":"node","value":{"attributes":{"aria-label":"Home link","class":"w3-bar-item w3-button w3-hover-none w3-left ga-top ga-top-w3home","href":"https://www.w3schools.com","id":"w3-logo","style":"width: 75px","title":"Home"},"childNodeCount":3,"localName":"a","namespaceURI":"http://www.w3.org/1999/xhtml","nodeType":1,"shadowRoot":null}}]},"type":"success"}
[0-0] 2024-10-15T08:32:04.535Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:04.535Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:04.540Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] =============================
[0-0] === AFTER SWITCHING TO FRAME ===
[0-0] =============================
[0-0] 2024-10-15T08:32:05.128Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[220 bytes]>","awaitPromise":true,"arguments":[],"target":{"context":"684432C1EE2EA4F8A052BE3A3A524D3C"}}
[0-0] 2024-10-15T08:32:05.132Z DEBUG webdriver: BIDI RESULT {"id":21,"result":{"realm":"-8679509010256993121.-3749561196120081335","result":{"type":"undefined"},"type":"success"},"type":"success"}
[0-0] 2024-10-15T08:32:05.133Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#w3-logo"},"context":"684432C1EE2EA4F8A052BE3A3A524D3C"}
[0-0] 2024-10-15T08:32:05.161Z DEBUG webdriver: BIDI RESULT {"id":22,"result":{"nodes":[{"sharedId":"f.684432C1EE2EA4F8A052BE3A3A524D3C.d.D804CDC8A0C03C6E817C654B75165994.e.53","type":"node","value":{"attributes":{"aria-label":"Home link","class":"w3-bar-item w3-button w3-hover-none w3-left ga-top ga-top-w3home","href":"https://www.w3schools.com","id":"w3-logo","style":"width: 75px","title":"Home"},"childNodeCount":3,"localName":"a","namespaceURI":"http://www.w3.org/1999/xhtml","nodeType":1,"shadowRoot":null}}]},"type":"success"}
[0-0] 2024-10-15T08:32:05.167Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#w3-logo"},"context":"684432C1EE2EA4F8A052BE3A3A524D3C"}
[0-0] 2024-10-15T08:32:05.174Z DEBUG webdriver: BIDI RESULT {"id":23,"result":{"nodes":[{"sharedId":"f.684432C1EE2EA4F8A052BE3A3A524D3C.d.D804CDC8A0C03C6E817C654B75165994.e.53","type":"node","value":{"attributes":{"aria-label":"Home link","class":"w3-bar-item w3-button w3-hover-none w3-left ga-top ga-top-w3home","href":"https://www.w3schools.com","id":"w3-logo","style":"width: 75px","title":"Home"},"childNodeCount":3,"localName":"a","namespaceURI":"http://www.w3.org/1999/xhtml","nodeType":1,"shadowRoot":null}}]},"type":"success"}
[0-0] 2024-10-15T08:32:05.179Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#w3-logo"},"context":"684432C1EE2EA4F8A052BE3A3A524D3C"}
[0-0] 2024-10-15T08:32:05.191Z DEBUG webdriver: BIDI RESULT {"id":24,"result":{"nodes":[{"sharedId":"f.684432C1EE2EA4F8A052BE3A3A524D3C.d.D804CDC8A0C03C6E817C654B75165994.e.53","type":"node","value":{"attributes":{"aria-label":"Home link","class":"w3-bar-item w3-button w3-hover-none w3-left ga-top ga-top-w3home","href":"https://www.w3schools.com","id":"w3-logo","style":"width: 75px","title":"Home"},"childNodeCount":3,"localName":"a","namespaceURI":"http://www.w3.org/1999/xhtml","nodeType":1,"shadowRoot":null}}]},"type":"success"}
[0-0] 2024-10-15T08:32:05.194Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#w3-logo"},"context":"684432C1EE2EA4F8A052BE3A3A524D3C"}
[0-0] 2024-10-15T08:32:05.199Z DEBUG webdriver: BIDI RESULT {"id":25,"result":{"nodes":[{"sharedId":"f.684432C1EE2EA4F8A052BE3A3A524D3C.d.D804CDC8A0C03C6E817C654B75165994.e.53","type":"node","value":{"attributes":{"aria-label":"Home link","class":"w3-bar-item w3-button w3-hover-none w3-left ga-top ga-top-w3home","href":"https://www.w3schools.com","id":"w3-logo","style":"width: 75px","title":"Home"},"childNodeCount":3,"localName":"a","namespaceURI":"http://www.w3.org/1999/xhtml","nodeType":1,"shadowRoot":null}}]},"type":"success"}
[0-0] 2024-10-15T08:32:05.200Z DEBUG @wdio/utils:shim: Finished to run "afterCommand" hook in 1ms
[0-0] Iframe element should now be found (should return true) =>  true
[0-0] 2024-10-15T08:32:05.204Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#accept-choices"},"context":"684432C1EE2EA4F8A052BE3A3A524D3C"}
[0-0] 2024-10-15T08:32:05.210Z DEBUG webdriver: BIDI RESULT {"id":26,"result":{"nodes":[{"sharedId":"f.684432C1EE2EA4F8A052BE3A3A524D3C.d.D804CDC8A0C03C6E817C654B75165994.e.87","type":"node","value":{"attributes":{"class":"sn-b-def sn-blue","id":"accept-choices"},"childNodeCount":1,"localName":"div","namespaceURI":"http://www.w3.org/1999/xhtml","nodeType":1,"shadowRoot":null}}]},"type":"success"}
[0-0] 2024-10-15T08:32:05.215Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#accept-choices"},"context":"684432C1EE2EA4F8A052BE3A3A524D3C"}
[0-0] 2024-10-15T08:32:05.220Z DEBUG webdriver: BIDI RESULT {"id":27,"result":{"nodes":[{"sharedId":"f.684432C1EE2EA4F8A052BE3A3A524D3C.d.D804CDC8A0C03C6E817C654B75165994.e.87","type":"node","value":{"attributes":{"class":"sn-b-def sn-blue","id":"accept-choices"},"childNodeCount":1,"localName":"div","namespaceURI":"http://www.w3.org/1999/xhtml","nodeType":1,"shadowRoot":null}}]},"type":"success"}
[0-0] =============================
[0-0] === BEFORE CLICK IN FRAME ===
[0-0] =============================
[0-0] 2024-10-15T08:32:05.224Z INFO webdriver: BIDI COMMAND browsingContext.locateNodes {"locator":{"type":"css","value":"#accept-choices"},"context":"684432C1EE2EA4F8A052BE3A3A524D3C"}
[0-0] 2024-10-15T08:32:05.230Z DEBUG webdriver: BIDI RESULT {"id":28,"result":{"nodes":[{"sharedId":"f.684432C1EE2EA4F8A052BE3A3A524D3C.d.D804CDC8A0C03C6E817C654B75165994.e.87","type":"node","value":{"attributes":{"class":"sn-b-def sn-blue","id":"accept-choices"},"childNodeCount":1,"localName":"div","namespaceURI":"http://www.w3.org/1999/xhtml","nodeType":1,"shadowRoot":null}}]},"type":"success"}
[0-0] 2024-10-15T08:32:05.234Z INFO webdriver: COMMAND elementClick("f.684432C1EE2EA4F8A052BE3A3A524D3C.d.D804CDC8A0C03C6E817C654B75165994.e.87")
[0-0] 2024-10-15T08:32:05.234Z INFO webdriver: [POST] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/element/f.684432C1EE2EA4F8A052BE3A3A524D3C.d.D804CDC8A0C03C6E817C654B75165994.e.87/click
[0-0] 2024-10-15T08:32:05.245Z INFO webdriver: RESULT {
[0-0]   error: 'no such element',
[0-0]   message: 'no such element: element not found\n  (Session info: chrome=129.0.6668.90)',
[0-0]   stacktrace: '\tGetHandleVerifier [0x00007FF64F78B645+29573]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F700470]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F5BB6EA]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F5CE1BB]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F5C2F14]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F5C0D94]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F5C4637]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F5C46F0]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F61192B]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F603586]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F6372FA]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F602FF6]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F637510]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F6586BC]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F6370A3]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F6012DF]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F602441]\n' +
[0-0]     '\tGetHandleVerifier [0x00007FF64FABC58D+3375821]\n' +
[0-0]     '\tGetHandleVerifier [0x00007FF64FB07987+3684039]\n' +
[0-0]     '\tGetHandleVerifier [0x00007FF64FAFCDAB+3640043]\n' +
[0-0]     '\tGetHandleVerifier [0x00007FF64F84B7C6+816390]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F70B77F]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F7075A4]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F707740]\n' +
[0-0]     '\t(No symbol) [0x00007FF64F6F659F]\n' +
[0-0]     '\tBaseThreadInitThunk [0x00007FFCCACB257D+29]\n' +
[0-0]     '\tRtlUserThreadStart [0x00007FFCCBB8AF28+40]\n'
[0-0] }
[0-0] AFTER CLICK IN FRAME - now pause 5sec
Created TensorFlow Lite XNNPACK delegate for CPU.
[0-0] 2024-10-15T08:32:10.264Z INFO webdriver: BIDI COMMAND script.callFunction {"functionDeclaration":"<Function[133 bytes]>","awaitPromise":true,"arguments":[],"target":{"context":"684432C1EE2EA4F8A052BE3A3A524D3C"}}
[0-0] 2024-10-15T08:32:10.277Z DEBUG webdriver: BIDI RESULT {"id":29,"result":{"realm":"-8679509010256993121.-3749561196120081335","result":{"type":"undefined"},"type":"success"},"type":"success"}
[0-0] 2024-10-15T08:32:10.282Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2024-10-15T08:32:10.282Z INFO webdriver: [GET] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102/window
[0-0] 2024-10-15T08:32:10.291Z INFO webdriver: RESULT 90EB10C3FC1566CF55E9D002CDA97D32
[0-0] 2024-10-15T08:32:10.292Z DEBUG @wdio/utils:shim: Finished to run "afterStep" hook in 11ms
[0-0] 2024-10-15T08:32:10.299Z DEBUG @wdio/utils:shim: Finished to run "after" hook in 0ms
[0-0] 2024-10-15T08:32:10.300Z INFO webdriver: COMMAND deleteSession()
[0-0] 2024-10-15T08:32:10.300Z INFO webdriver: [DELETE] http://localhost:12580/session/5ce000d7ca6375ef07bd252b6e238102
[0-0] 2024-10-15T08:32:13.900Z INFO webdriver: RESULT null
[0-0] 2024-10-15T08:32:13.901Z INFO webdriver: Kill driver process with PID 38812
2024-10-15T08:32:14.446Z DEBUG @wdio/local-runner: Runner 0-0 finished with exit code 0
[0-0] PASSED in chrome - file:///C:/Users/totoy/AutoTests/src/features/tsp/tsp.feature
2024-10-15T08:32:14.448Z INFO @wdio/cli:launcher: Run onWorkerEnd hook
2024-10-15T08:32:14.450Z DEBUG @wdio/cli:utils: Finished to run "onWorkerEnd" hook in 0ms
2024-10-15T08:32:14.451Z INFO @wdio/cli:launcher: Run onComplete hook
2024-10-15T08:32:14.452Z DEBUG @wdio/cli:utils: Finished to run "onComplete" hook in 0ms

Code of Conduct

Is there an existing issue for this?

christian-bromann commented 1 month ago

Thanks for reporting, I will take a look at this.

thamp59 commented 1 month ago

Also seeing this. Holding off on upgrading to v9 until this gets resolved. Commenting for visibility.

torokati44 commented 1 month ago

9.2.2 is now out with https://github.com/webdriverio/webdriverio/pull/13781, potentially fixing this!

thamp59 commented 1 month ago

Seems setting to switchFrame with this update fixed the issue 🥳 Thanks @christian-bromann

christian-bromann commented 1 month ago

Thanks for confirming @thamp59 , if you come across more issues in regards to frames or windows, let me know. Also if you have any suggestions how to generally improve this area. Thanks a lot!

QArsis commented 1 month ago

Hello! I can confirm issue is fixed. Thanks a lot!

Just for the record:

await browser.switchFrame(() => Boolean(document.querySelector('#w3-logo')));

const getFrameFunction = (selector) => `() => Boolean(document.querySelector("${selector}"))`;
await browser.switchFrame(eval(getFrameFunction(selector)));

I know "eval" is not a good idea but I failed to find another way. Do not hesitate to suggest a better way ;)