Hello,
For few days I am trying to run some very basic iPad real device Katalon test case, but having several issues.
WebDriverAgentRunner is installed on real device using this command, after signing WebDriverAgent.xcodeproj to the free AppleID Developer account inside XCode:
xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination ‘id=UDID’ test
This command ends with:
2018-01-27 12:09:42.798009+0100 WebDriverAgentRunner-Runner[266:14952] Running tests…
2018-01-27 12:09:43.878998+0100 WebDriverAgentRunner-Runner[266:14952] Continuing to run tests in the background with task ID 1
Test Suite ‘All tests’ started at 2018-01-27 12:09:44.914
Test Suite ‘WebDriverAgentRunner.xctest’ started at 2018-01-27 12:09:44.920
Test Suite ‘UITestingUITests’ started at 2018-01-27 12:09:44.925
Test Case ‘-[UITestingUITests testRunner]’ started.
t = 0.01s Start Test at 2018-01-27 12:09:44.937
t = 0.02s Set Up
2018-01-27 12:09:44.969278+0100 WebDriverAgentRunner-Runner[266:14952] Built at Jan 26 2018 21:37:57
2018-01-27 12:09:45.039488+0100 WebDriverAgentRunner-Runner[266:14952] ServerURLHere->http://10.0.1.9:0<-ServerURLHere
iPad trust my Mac, and WebDriverAgentRunner is added inside:
iPad > Settings > Device Management as verified app.
Unfortunately connection is refused afterwards:
$ curl -X GET $JSON_HEADER $DEVICE_URL/status
curl: (6) Could not resolve host: application
curl: (6) Could not resolve host: accept
curl: (6) Could not resolve host: application
curl: (7) Failed to connect to 10.0.1.9 port 8100: Connection refused
When I start Katalon test case this is happening:
Test Cases/Test-1 FAILED because (of) Unable to open browser with url: ‘’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: “xcodebuild failed with code 65”. Make sure you follow the tutorial at appium-xcuitest-driver/real-device-config.md at master · appium/appium-xcuitest-driver · GitHub. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 44.10 seconds
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘ZM-MacBook.local’, ip: ‘xxxxxxxxxxxxxxxxxxxxxx:760d%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.13.2’, java.version: ‘1.8.0_102’
Driver info: driver.version: IOSDriver)
Sometimes I can see different error, without changing any configuration:
Test Cases/Test-1 FAILED because (of) Unable to open browser with url: ‘’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not navigate to webview; there are none! (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 132.06 seconds
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘ZM-MacBook.local’, ip: ‘xxxxxxxxxxxxxxxxxxxxxx:760d%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.13.2’, java.version: ‘1.8.0_102’
Driver info: driver.version: IOSDriver)
And yes, I followed suggested procedure as much as I could, it seems some details are missing !?
Test execution steps and messages:
01 - Starting ‘iOS’ driver
02 - User set preference: [‘deviceId’, ‘id’]
03 - Failed to start ios_webkit_debug_proxy on default port 27753
// here I can see on real iPad device that WebDriverAgentRunner is started and Safari is started too, but desired url is not opened, instead of desired url I can see web page “appium.io”
04 - Appium server started on port 54,486
// very long delay
// Test Case failed message
// On live iPad device Safari is hidden and WebDriverAgentRunner is still installed
This simple test case works 100% successful with any other way, e.g. Chrome, XCode iPad simulator, Android Emulator etc.
General info:
iPad mini 2 > Settings Developer > Enable UI Automation = ON
iOS version = 11.2.1
Katalon version = 5.3 Build 1
Appium version = 1.7.2
Inside Katalon Studio > Prefs > Katalon > Mobile I have:
Appium Directory: /usr/local/lib/node_modules/appium
Appium Log Level: Debug
Despite this both appium logs are always size zero:
/Users/usename/Katalon Studio/TEST
$ ls -ltr | grep appium
-rw-r–r-- 1 zlatan staff 0 Jan 26 23:32 appium-proxy-server.log
-rw-r–r–@ 1 zlatan staff 0 Jan 27 00:04 appium.log
Any hints?