when run appium 2.0 for UIAutomator2 installation, "--chromedriver-skip-install" is not working
See original GitHub issueThe problem
I tried to install uiautomator2 driver with command:
node . driver install uiautomator2 --chromedriver-skip-install --appium-home="C:\temp"
Environment
- Appium version (or git revision) that exhibits the issue: Appium 2.0
- Last Appium version that did not exhibit the issue (if applicable): 1.20
- Desktop OS/version used to run Appium: Windows 10
- Node.js version (unless using Appium.app|exe): 16
- Npm or Yarn package manager: npm
- Mobile platform/version under test: None
- Real device or emulator/simulator: None
- Appium CLI or Appium.app|exe:
node . driver install uiautomator2 --chromedriver-skip-install --appium-home="C:\temp"
Link to Appium logs
C:\Users\cheruixi\IdeaProjects\appium\packages\appium>node . driver install uiautomator2 --chromedriver-skip-install --appium-home=“C:\temp” usage: appium [-h] [-v] {server,driver,plugin} … appium: error: unrecognized arguments: --chromedriver-skip-install
Code To Reproduce Issue [ Good To Have ]
node . driver install uiautomator2 --chromedriver-skip-install --appium-home="C:\temp"
with Appium 2.0
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Appium 2 - Says UIAutomator2 installed. Then cant find it...?
It is happening to my after node upgrade to v17.8.0 and upgrade UIAutomator to v2.0.5. Now it is fixed after installing UIAutomator v2.0.1...
Read more >Appium driver install uiautomator2 can't install - Support
Hi. When I try to install uiautomator2 on Mac I have this error appium driver install uiautomator2 info Appium Setting NODE_PATH to ...
Read more >Error installing uiautomator2 driver with Appium - Stack Overflow
Seems to be a problem with appium@2.0.0-beta.41. Workaround was to install npm v6: $ npm -g install npm@6. after that I could install...
Read more >Installing Appium 2.0 and the Driver and Plugins CLI - HeadSpin
Before we get into the details of installing and running Appium 2.0, ... With Appium 2.0, the code for these drivers will no...
Read more >Local Android Devices - UiPath Documentation Portal
appium driver list - lists installed drivers (recommended for Appium 2.0); adb devices - lists the connected devices; adb start-server ...
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
On Mac it works with a enviroment variable
export APPIUM_SKIP_CHROMEDRIVER_INSTALL=true
I think it should also work on PC with an enviroment variable
here was the original comment : https://github.com/appium/appium/discussions/15812#discussioncomment-1299739
This flag will probably not exist in Appium 2.0. The reason is that it gets turned into an NPM install flag, but when using the
appium driver install
interface there is no way to send NPM install flags in. Given that another solution exists (the env var solution), we’ll probably just require the use of that solution moving forward.