WebDriverAgent on Appium 2.0

Hi guys. I’m trying to run tests with appium 2.0 beta with ios real device.
But where is the folder with webdriveragent?
Or what the way to add wda to appium
Thanks in an advance

http://appium.io/docs/en/drivers/ios-xcuitest-real-devices/

My question was about appium 2.0 - i don’t see there webdriveragent

what you mean?

  • command line appium
  • GUI Appium

they both already 2.0 versions.

How you installing appium?

e.g. command line appium installed on mac has path to WDA:

/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent

oi…
command line appium version now is 1.22

i see 2.0 is older:image

I mean I know where for appium 1.22 placed appium-webdriveragent, but for appium 2.0 the folder is not there.

aga! looks like it need install first -> https://appiumpro.com/editions/122-installing-appium-20-and-the-driver-and-plugins-cli

I saw this article (generally i’ve used it as guide), but there is no info about webdriveragent

For any who see the same issue:
You can place you xcuitestdriver such as appium driver install xcuitest -ah Users//Desktop/appium2.0
And here will be placed your wda
Thanks Aleksei

1 Like

exactly! this is last part in guide:

Setting the driver repository location

/Users/$USER/.appium/appium-xcuitest-driver/node_modules/appium-webdriveragent

3 Likes

I installed Appium globally and then installed WDA via the command
appium driver install xcuitest
This was the location of WDA:
/Users/$USER/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent

1 Like

2 questions really I just tried to install version 2, instead of staying on 1.22 and I have to ask when is 2.0 going to go official roughly? My issue is the server is unable to find the drivers which are clearly installed when i ran

`appium driver list --installed
:heavy_check_mark: Listing installed drivers

it lists the driver, but a simple test script fails to find the drivers here altogether:
Original error: Could not find a driver for automationName 'XCUITest' and platformName iOS'. Have you installed a driver that supports those capabilities? Run 'appium driver list --installed' to see.

On my Mac for Appium 2.0 I found the WebDriverAgent folder here:
~/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent

1 Like

I finally found it here $HOME/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent.

Where does Appium install drivers when you use the driver CLI? By default, Appium creates a hidden directory called .appium inside your user home directory (source: installing appium 2.0 and the driver and plugins cli).

Then you need to sign in webdriver app by your developer certificate (because it’s installed to your device), so I followed instructions from this tutorial setup guide for appium real ios device.

1 Like

The above tutorial also describes the shortcut, which helps to locate WDA folder: https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md#appium-2x (appium driver run xcuitest open-wda)

1 Like

Thank you so much Muhammad for all your patience, efforts, and putting your time into helping me understand to learn how to code. You make every session we have an exciting one and I am always eager to learn more in the next ones. I have tried many times to be able to learn how to code and I was beginning to lose hope in myself thinking I wouldn’t be able to learn how to code but thankfully I took the leap of faith and began to learn from you and it has been such a blessing to be able to learn from someone so smart. Once again, thank you for everything for have taught me. I hope I can repay you in the future.

npm i appium-webdriveragent