bug: Custom Appium Home location is not a recognized argument
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
Current Behavior
I want to install the Appium Drivers in a path, that is accessible to all users instead of only the current user. I am referring to the reading material provided here (from Appium’s Github reference): https://appiumpro.com/editions/122-installing-appium-20-and-the-driver-and-plugins-cli When I perform any of these commands in PowerShell:
appium -ah C:\Programs\npm driver install windows
appium -ah "C:\Programs\npm" driver install windows
appium --home "C:\Programs\npm" driver install windows
appium --appium-home "C:\Programs\npm" driver install windows
appium --home="C:\Programs\npm" driver install windows
I get an error of the argument not being recognized. See screenshot below:
Expected Behavior
Appium Drivers install in a custom location alongside where Appium 2 via NPM was installed at E.G. Appium is installed in “C:\Programs\npm” and i expect the Appium Drivers to be installed there as well.
Minimal Reproducible Example
All I did was the following through PowerShell with Administrator privileges:
npm i -g appium@next --prefix="C:\Programs\npm"
And then the Appium commands listed above in the ‘current behavior’ section.
Environment
- Operating system: Windows 10 Enterprise
- If running via appium CLI…
- Appium CLI version (output of appium --version): 2.0.0-beta.46
- Node.js version (output of node --version): v18.12.1
- npm version (output of npm --version): 8.19.2
- Last appium version which did not exhibit the problem: N/A
- If running Appium Desktop, its version: N/A
- Appium driver(s) and their version(s): 8.7.3
- Appium plugin(s) and their version(s): N/A
- Platform and version under test: Windows 10 Enterprise
- Real device or emulator/simulator: N/A
Link to Appium Logs
No response
Futher Information
I want to also install the “uiautomator2” driver in that specific location but I have not tried it yet.
Issue Analytics
- State:
- Created 9 months ago
- Comments:9 (3 by maintainers)
Top GitHub Comments
I assume this command line argument has been removed. Have you tried to set the
APPIUM_HOME
environment variable instead?Closed because of no response