question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Appium 2.0 Windows Driver Session Routing

See original GitHub issue

The problem

Windows driver installed via ‘appium driver install windows’ (windows@1.18.0)

When attempting to create new session it fails.

Environment

  • Appium CLI version - 2.0.0-beta9
  • Desktop OS - Windows 10
  • Node.js - v14.15.4
  • Npm - 6.14.11
  • Mobile platform/version under test: Windows/UWP

More Info

[debug] [HTTP] Request idempotency key: a6f5f6b8-b828-419f-9dc4-c5f04f2bdc60
[HTTP] --> POST /wd/hub/session
[HTTP] {"platformName":"WINDOWS","deviceName":"WINDOWS" ... desiredCapabilities Logged here but redacted}
[debug] [HTTP] No route found for /wd/hub/session
[HTTP] <-- POST /wd/hub/session 404 17 ms - 211
[HTTP]

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:22 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
KazuCocoacommented, Jan 27, 2021

The error is expected. Appium 2.0 requires W3C spec capabilities, but probably your request does not have it. So, wdaLocalPort should be appium:wdaLocalPort.

Appium clients add appium: for non-standard capabilities, but probably your grid does not have such behavior.

0reactions
KazuCocoacommented, Apr 18, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows - Appium
Appium has the ability to automate Windows PC Desktop apps. This driver relies on a project from Microsoft called WinAppDriver, which is an...
Read more >
First Look at Appium 2.0 and New Drivers - HeadSpin
A first look on what Appium 2.0 is, what's the vision, and what are some of the technical possibilities and changes that you...
Read more >
How to Create Appium WinAppDriver Session with ... - YouTube
Video objective: How to create WindowsDriver session for Appium based ... 3K views 2 years ago Test Automation Using Appium and WinAppDriver.
Read more >
Automate Everything, Appium 2.0 and New Drivers - YouTube
... forward-looking topics in test automation.In this webinar, we cover: - Appium 2.0 sneak preview, coming 2020- Espresso Driver, pros and...
Read more >
Testing Mobile App with Appium & WebdriverIO: "No route ...
I got rid of the problem by using this command to start Appium server in the terminal: appium --base-path /wd/hub.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found