Closed rmarinho closed 1 year ago
There were some changes made in the recent server version. The actual command is: appium driver install --package=appium-windows-driver windows
(also updated the documentation)
Hum, still doesn't work for me..
PS C:\Users\Rui Marinho> appium driver install --package=appium-windows-driver windows
Error: ✖ Could not resolve driver; are you sure it's in the list of supported drivers? ["uiautomator2","xcuitest","mac2","espresso","safari","gecko","chromium"]
PS C:\Users\Rui Marinho> appium driver list
✔ Listing available drivers
- uiautomator2@2.12.1 [installed (NPM)]
- xcuitest [not installed]
- mac2 [not installed]
- espresso [not installed]
- safari [not installed]
- gecko [not installed]
- chromium [not installed]
this worked but is not listed on the drivers..
PS C:\Users\Rui Marinho> npm install appium-windows-driver
added 981 packages, and audited 982 packages in 2m
49 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
PS C:\Users\Rui Marinho> appium driver list
✔ Listing available drivers
- uiautomator2@2.12.1 [installed (NPM)]
- xcuitest [not installed]
- mac2 [not installed]
- espresso [not installed]
- safari [not installed]
- gecko [not installed]
- chromium [not installed]
How about appium driver install --source=npm appium-windows-driver
?
Yap that worked, thanks!
PS C:\Users\Rui Marinho> appium driver install --source=npm appium-windows-driver
✔ Installing 'appium-windows-driver'
ℹ Driver windows@2.2.2 successfully installed
- automationName: Windows
- platformNames: ["Windows"]
PS C:\Users\Rui Marinho> appium driver list
✔ Listing available drivers
- uiautomator2@2.12.1 [installed (NPM)]
- windows@2.2.2 [installed (NPM)]
I have appium 2.0 and trying to install windows driver i get a error saying it doesn't exist..