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.

Address `appium:` prefix in webdriverio new session creation documentation in appium.io

See original GitHub issue

The problem

Appium docs lists appium capabilities without the appium: keyword which fails (invalid caps) in Webdriverio when using W3C capabilities. How does the Appium team plan to tackle this?

Environment

  • WebdriverIO client

Details

This issue is concerning as customers using appium specific capabilities like popup handling using W3C caps get confused when using WebdriverIO.

Visibility on this would also help us at BrowserStack to handle this nuance in our documentation accordingly as the python client for example, doesn’t need appium: for W3C caps, whereas WebdriverIO does. This should also be handled within Appium documentation as well, when there are snippets being provided for JS.

Apologies if this is not the correct place to raise this, and if this is already being addressed with the Appium 2.0 project.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
KazuCocoacommented, Jul 24, 2022

Perhaps https://appium.io/docs/en/commands/session/create/ and https://appium.io/docs/en/about-appium/getting-started …? Current documentation in appium.io is for Appium 1 which supports MJSONWP and W3C, so I guess only the documentation can address w3c only case needs to add appium: prefix for webdriverio. (I don’t know if webdriverio sends both mjsonwp and w3c, or only either) wd JS library need to keep the MJSONWP. For now, https://github.com/appium/appium.io will need a direct update.

Appium 2 documentation (we’re preparing) will have links for each client repo/document, so perhaps clients’ specific code in appium’s documentation will only be in sample code like https://github.com/appium/appium/blob/master/packages/appium/sample-code/quickstarts/js/test.js

0reactions
KazuCocoacommented, Jul 26, 2022

Updated as https://github.com/appium/appium/pull/17264 It will be in appium.io

Read more comments on GitHub >

github_iconTop Results From Across the Web

Desired Capabilities - Appium
Desired Capabilities are keys and values encoded in a JSON object, sent by Appium clients to the server when a new automation session...
Read more >
Appium - WebdriverIO
isLocked​. Check whether the device is locked or not. Appium command. More details can be found in the official protocol docs. Usage​.
Read more >
WebDriverIO connecting to Appium No matching capabilities ...
Hi I think you are missing on one of the capabilities, below is the capability that is used from appium desktop and it...
Read more >
Getting started - appium
When all is said and done, Appium is just an HTTP server. It sits and waits for connections from a client, which then...
Read more >
appium/appium - Gitter
Hi guys. I have a problem. I created appium framework using JavaScript for the app and the framework is on Native. Now I...
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