Skip to content

Instantly share code, notes, and snippets.

@harsha509
Created September 20, 2023 15:12
Show Gist options
  • Save harsha509/923e937f50426a7e7424e6d902ed3f61 to your computer and use it in GitHub Desktop.
Save harsha509/923e937f50426a7e7424e6d902ed3f61 to your computer and use it in GitHub Desktop.
sriharsha@EPINHYDW017A wdio-bidi-tests % npm run wdio-lb
> wdio-lb
> wdio run ./wdio.lambdatest.conf.js
Execution of 1 workers started at 2023-09-20T15:05:28.380Z
2023-09-20T15:05:28.408Z INFO @wdio/cli:launcher: Run onPrepare hook
2023-09-20T15:05:28.410Z INFO @wdio/cli:launcher: Run onWorkerStart hook
2023-09-20T15:05:28.410Z INFO @wdio/local-runner: Start worker 0-0 with arg: run,./wdio.lambdatest.conf.js
[0-0] 2023-09-20T15:05:28.770Z INFO @wdio/local-runner: Run worker command: run
[0-0] RUNNING in undefined - file:///test/specs/BrowsingContext.spec.js
[0-0] 2023-09-20T15:05:28.836Z INFO webdriver: Initiate new session using the WebDriver protocol
[0-0] 2023-09-20T15:05:28.837Z INFO @wdio/utils: Connecting to existing driver at http://hub.lambdatest.com:80/wd/hub
[0-0] 2023-09-20T15:05:28.847Z INFO webdriver: [POST] http://hub.lambdatest.com/wd/hub/session
[0-0] 2023-09-20T15:05:28.847Z INFO webdriver: DATA {
[0-0] capabilities: {
[0-0] alwaysMatch: { webSocketUrl: true, 'LT:Options': [Object] },
[0-0] firstMatch: [ {} ]
[0-0] },
[0-0] desiredCapabilities: {
[0-0] webSocketUrl: true,
[0-0] 'LT:Options': {
[0-0] browserName: 'chrome',
[0-0] webSocketUrl: true,
[0-0] version: 'latest',
[0-0] name: 'Test WebdriverIO bidi',
[0-0] build: 'Bidi test'
[0-0] }
[0-0] }
[0-0] }
[0-0] 2023-09-20T15:05:29.566Z INFO webdriver: COMMAND executeScript("lambda-name=Browsing context text", <object>)
[0-0] 2023-09-20T15:05:29.566Z INFO webdriver: [POST] http://hub.lambdatest.com/wd/hub/session/JVIL7-WZEYT-7NM5F-BWJNI/execute/sync
[0-0] 2023-09-20T15:05:29.567Z INFO webdriver: DATA { script: 'lambda-name=Browsing context text', args: [] }
[0-0] 2023-09-20T15:05:34.834Z INFO webdriver: RESULT { args: [], script: 'lambda-name=Browsing context text' }
[0-0] 2023-09-20T15:05:34.837Z INFO webdriver: COMMAND executeScript("lambda-name=Browsing context text - should have navigation id", <object>)
[0-0] 2023-09-20T15:05:34.838Z INFO webdriver: [POST] http://hub.lambdatest.com/wd/hub/session/JVIL7-WZEYT-7NM5F-BWJNI/execute/sync
[0-0] 2023-09-20T15:05:34.838Z INFO webdriver: DATA {
[0-0] script: 'lambda-name=Browsing context text - should have navigation id',
[0-0] args: []
[0-0] }
[0-0] 2023-09-20T15:05:36.066Z INFO webdriver: RESULT {
[0-0] args: [],
[0-0] script: 'lambda-name=Browsing context text - should have navigation id'
[0-0] }
[0-0] 2023-09-20T15:05:36.067Z INFO webdriver: COMMAND navigateTo("https://www.google.co.in/")
[0-0] 2023-09-20T15:05:36.068Z INFO webdriver: [POST] http://hub.lambdatest.com/wd/hub/session/JVIL7-WZEYT-7NM5F-BWJNI/url
[0-0] 2023-09-20T15:05:36.068Z INFO webdriver: DATA { url: 'https://www.google.co.in/' }
[0-0] 2023-09-20T15:05:36.876Z INFO webdriver: RESULT null
[0-0] 2023-09-20T15:05:36.877Z INFO webdriver: COMMAND getWindowHandle()
[0-0] 2023-09-20T15:05:36.878Z INFO webdriver: [GET] http://hub.lambdatest.com/wd/hub/session/JVIL7-WZEYT-7NM5F-BWJNI/window
[0-0] 2023-09-20T15:05:37.060Z INFO webdriver: RESULT 5B2727B6DB38FFBA6DEF0CE8F9DD0921
[0-0] Error in "Browsing context text.should have navigation id"
Error: Malformed type for "params" parameter of command browsingContextNavigate
Expected: `remote.BrowsingContextNavigateParameters`
Actual: object
For more info see https://w3c.github.io/webdriver-bidi/#command-browsingContext-navigate
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Context.<anonymous> (file:///Users/sriharsha/Desktop/wdio-bidi-tests/test/specs/BrowsingContext.spec.js?invalidateCache=0.7557118305004324:7:5)
[0-0] 2023-09-20T15:05:37.074Z INFO @wdio/lambdatest-service: Update job with sessionId JVIL7-WZEYT-7NM5F-BWJNI, status: failed
[0-0] 2023-09-20T15:05:43.219Z INFO webdriver: COMMAND deleteSession()
[0-0] 2023-09-20T15:05:43.220Z INFO webdriver: [DELETE] http://hub.lambdatest.com/wd/hub/session/JVIL7-WZEYT-7NM5F-BWJNI
[0-0] 2023-09-20T15:05:43.443Z INFO webdriver: RESULT null
[0-0] FAILED in undefined - file:///test/specs/BrowsingContext.spec.js
2023-09-20T15:05:43.558Z INFO @wdio/cli:launcher: Run onWorkerEnd hook
2023-09-20T15:05:43.559Z INFO @wdio/cli:launcher: Run onComplete hook
Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:15
2023-09-20T15:05:43.562Z INFO @wdio/local-runner: Shutting down spawned worker
2023-09-20T15:05:43.814Z INFO @wdio/local-runner: Waiting for 0 to shut down gracefully
2023-09-20T15:05:43.815Z INFO @wdio/local-runner: shutting down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment