Appium 2 - XcuiTest driver args unrecognized wdaLocalPort
See original GitHub issueThe problem
When trying to use appium server --driver-args='{"xcuitest":{"wdaLocalPort": 8104}}'
with Appium 2.0.0-beta.23 it throws the following error
appium: error: unrecognized arguments: --driver-args
Environment
- Appium version (or git revision) that exhibits the issue: Appium 2.0.0-beta.23
- Last Appium version that did not exhibit the issue (if applicable):Appium 2.0.0-beta.19 (works when i roll back to this version)
- Desktop OS/version used to run Appium: Appium 2 CLI
- Node.js version (unless using Appium.app|exe): 14.15.4
- Npm or Yarn package manager: npm
- Mobile platform/version under test: ios using xcuitest@3.59.1
- Real device or emulator/simulator: Sim
Issue Analytics
- State:
- Created 2 years ago
- Comments:18 (9 by maintainers)
Top Results From Across the Web
appium-xcuitest-driver - npm
Continuous Integration Setup document covers steps to take in order to use the XCUItest driver in a CI environment. Appium 2.x Server Arguments....
Read more >Unable to install Mac2 Driver - Support - Appium Discuss
When I try to run the “appium driver install mac2” command I see “error: unrecognized arguments: driver install mac2”.
Read more >Appium Is not working after xcode11 update - Issues/Bugs
An unknown server-side error occurred while processing the command. ... /appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
Read more >CLI Arguments - Appium
Flag Default Description
‑‑shell null Enter REPL mode
‑‑ipa null (IOS‑only) abs path to compiled .ipa file
‑a , ‑‑address 0.0.0.0 IP Address to listen on...
Read more >Got 500 errors when use real iphone - Support - Appium Discuss
createSession() with args: [{“appium:platformName”:“iOS” ... [Appium] The 'xcuitest' driver was installed and matched caps.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
--driver-args
was abandoned in favour of config schemas. These are provided by driver devs. If you have appium 2 beta and a recent version of the xcuitest driver, you can find the appropriate driver-specific flags in the help:will produce this as part of the output:
So you can simply run:
thanks to @boneskull for the fix!