Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use WebDriver if Appium capabilities are found #6929

Merged
merged 1 commit into from
May 28, 2021

Conversation

christian-bromann
Copy link
Member

Proposed changes

Currently if someone would run tests on mobile there are chances WebdriverIO would pick the devtools protocol even though there is no chance to establish that connection. This patch adds checks on mobile caps to better determine the protocol.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Checklist

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • I have added proper type definitions for new commands (if appropriate)

Further comments

fixes #6214

Reviewers: @webdriverio/project-committers

@christian-bromann christian-bromann added the PR: Bug Fix 🐛 PRs that contain bug fixes label May 28, 2021
@christian-bromann christian-bromann requested a review from a team May 28, 2021 08:40
@christian-bromann christian-bromann added the needs-review These Pull Requests require review from project members label May 28, 2021
Copy link
Member

@wswebcreation wswebcreation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@christian-bromann christian-bromann force-pushed the cb-better-protocol-choice branch from a72bf49 to d5fb012 Compare May 28, 2021 12:41
@christian-bromann christian-bromann merged commit 9ba1b5b into main May 28, 2021
@christian-bromann christian-bromann deleted the cb-better-protocol-choice branch May 28, 2021 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-review These Pull Requests require review from project members PR: Bug Fix 🐛 PRs that contain bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERROR @wdio/local-runner: Failed launching test session: Error: unknown error
2 participants