Unable to install WebDriverAgent for iOS devices

Hey everyone,

I am attempting to set up my WebDriverAgent for iOS by following this Katalon doc page: https://docs.katalon.com/katalon-studio/docs/installing-webdriveragent-for-ios-devices.html

When I enter the following code into my terminal on my macOS:

cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
mkdir -p Resources/WebDriverAgent.bundle
sh ./Scripts/bootstrap.sh -d

, I get this error message: ‘no such file or directory’

Any ideas as to why I am unable to find the file or directory?

Thanks

Cd /usr/local/lib/node_modules/Appium/node_modules/Appium-webdriveragent

With new Appium it is getting change so look for correct folder in your system.

2 Likes

U need to move this file in this directory by hands

No you need to change the directory to that folder then follow the steps it will work.

1 Like

Starting in Appium 1.15.0, the WebDriverAgent is located in:

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

Thanks

2 Likes

Appium version:1.20.2
I enter the following code into terminal on macOS Big Sur:

cd /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent
mkdir -p Resources/WebDriverAgent.bundle
sh ./Scripts/bootstrap.sh -d

get this error message:sh: ./Scripts/bootstrap.sh: No such file or directory
I checked /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent//Scripts/,there is no a file named bootstrap.sh
appreciate any help

@j_rongrong

Please type these commands in the terminal and share the output:

which appium
which node