Skip to content

[🐛 Bug]: WDIO 9.4.1 fails to create a session with chromedriver or geckodriver #13947

@mykola-mokhnach

Description

@mykola-mokhnach

Have you read the Contributing Guidelines on issues?

WebdriverIO Version

9.4.1

Node.js Version

22

Mode

Standalone Mode

Which capabilities are you using?

{
  capabilities: {
    alwaysMatch: {
      browserName: 'MozillaFirefox',
      platformName: 'linux',
      'appium:automationName': 'Gecko',
      webSocketUrl: true,
      unhandledPromptBehavior: 'ignore'
    },
    firstMatch: [ {} ]
  }
}

What happened?

After WDIO upgrade to 9.4.1 session creation with safaridriver or geckdriver@Android always fails. I assume this happens because of the context check call, which is not supported by these drivers.

See

for more details

What is your expected behavior?

It should be possible to create a session same way it was working in previous wdio versions.

How to reproduce the bug.

Just run the corresponding pipeline

Relevant log output

See the links above

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions