Issue when running tests on real iOS devices

hi
I am running some tests from katalon on an iOS device. I have installed the WDA successfully and I can see it starting. However it opens up only appium.io on load and keeps giving me error about iOS-WebKit-proxy
it says unable to find any web views and requests me to make sure that iOS WebKit proxy is switched on. But it is on when the tests start. Any help?

@Vinh Nguyen - is it necessary to start the iOS webkit debug proxy when running tests from Katalon on a real iOS device. Can you please let me know ?

After 3 days of hard work and troubleshooting, Studio fails to run mobile web app testing on real iOS devices. I have installed WDA on the device and when starting the test via katalon it opens up with Appium.io app. Not sure how to route it to correct url which is my SUT. It works smoothly on Android

@Vinh Nguyen @Olivier Brand

Please help to post full error logs first from your execution.

@Vinh Nguyen

06-27-2018 02:56:23 PM - [START] - Start Test Suite : Test Suites/TS_RegressionTest

06-27-2018 02:56:23 PM - [RUN_DATA] - Logging run data ‘hostName’ with value ‘sdmac - mymac-macbook-pro.local’

06-27-2018 02:56:23 PM - [RUN_DATA] - Logging run data ‘os’ with value ‘Mac OS X 64bit’

06-27-2018 02:56:23 PM - [RUN_DATA] - Logging run data ‘hostAddress’ with value ‘169.221.23.132’

06-27-2018 02:56:23 PM - [RUN_DATA] - Logging run data ‘katalonVersion’ with value ‘5.4.2.1’

06-27-2018 02:56:24 PM - [START] - Start Test Case : Test Cases/Main Test Cases/TC1_Verify Successful Login

06-27-2018 02:56:24 PM - [INFO] - Evaluating variables for test case

06-27-2018 02:56:24 PM - [INFO] - Variable ‘Username’ is set to John Doe as default

06-27-2018 02:56:24 PM - [INFO] - Variable ‘Password’ is set to ThisIsNotAPassword as default

06-27-2018 02:56:24 PM - [START] - Start action : comment

06-27-2018 02:56:24 PM - [INFO] - Story: Login to CURA system

06-27-2018 02:56:24 PM - [END] - End action : comment

06-27-2018 02:56:24 PM - [START] - Start action : comment

06-27-2018 02:56:24 PM - [INFO] - Given that the user has the valid login information

06-27-2018 02:56:24 PM - [END] - End action : comment

06-27-2018 02:56:24 PM - [START] - Start action : openBrowser

06-27-2018 02:56:25 PM - [INFO] - Opening browser

06-27-2018 02:56:25 PM - [INFO] - Starting ‘iOS’ driver

06-27-2018 02:56:25 PM - [INFO] - User set preference: [‘deviceId’, ‘’]

06-27-2018 02:56:25 PM - [INFO] - ios_webkit_debug_proxy server started on port 50689

06-27-2018 02:56:28 PM - [INFO] - Appium server started on port 50,693

[Appium] Welcome to Appium v1.8.1

[Appium] Non-default server args:

[Appium] port: 50693

[Appium] loglevel: info

[Appium] chromeDriverPort: 50694

[Appium] tmpDir: /var/folders/vg/l7md55md5tz8690cghn1d0xc0000gn/T//Katalon/Appium/Temp1530136585733

[Appium] webkitDebugProxyPort: 50689

[Appium] Appium REST http interface listener started on 0.0.0.0:50693

[HTTP] --> GET /wd/hub/status

[HTTP] {}

[HTTP] <-- GET /wd/hub/status 200 20 ms - 83

[HTTP]

[HTTP] --> POST /wd/hub/session

[HTTP] {“desiredCapabilities”:{“automationName”:“XCUITest”,“browserName”:“Safari”,“deviceId”:"",“deviceName”:“My iPad Air 2”,“newCommandTimeout”:1800,“platformName”:“iOS”,“realDeviceLogger”:"/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole",“udid”:“16cbd2192ab7916220d07ab2aad00168809547ea”,“wdaLocalPort”:50688},“capabilities”:{“desiredCapabilities”:{“automationName”:“XCUITest”,“browserName”:“Safari”,“deviceId”:"",“deviceName”:“My iPad Air 2”,“newCommandTimeout”:1800,“platformName”:“iOS”,“realDeviceLogger”:"/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole",“udid”:“16cbd2192ab7916220d07ab2aad00168809547ea”,“wdaLocalPort”:50688},“firstMatch”:[{“browserName”:“Safari”,“platformName”:“ios”}]}}

[Appium] Could not parse W3C capabilities: ‘deviceName’ can’t be blank. Falling back to JSONWP protocol.

[Appium] The following capabilities were provided in the JSONWP desired capabilities that are missing in W3C capabilities: [“automationName”,“browserName”,“deviceId”,“deviceName”,“newCommandTimeout”,“platformName”,“realDeviceLogger”,“udid”,“wdaLocalPort”]. Falling back to JSONWP protocol.

[Appium] Creating new XCUITestDriver (v2.84.0) session

[Appium] Capabilities:

[Appium] automationName: XCUITest

[Appium] browserName: Safari

[Appium] deviceId:

[Appium] deviceName: My iPad Air 2

[Appium] newCommandTimeout: 1800

[Appium] platformName: iOS

[Appium] realDeviceLogger: /Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole

[Appium] udid: 16cbd2192ab7916220d07ab2aad00168809547ea

[Appium] wdaLocalPort: 50688

[BaseDriver] The following capabilities were provided, but are not recognized by appium: deviceId.

[BaseDriver] Session created with session id: 7c7ef3b4-bd89-45c6-8865-1b234b3d476b

[XCUITest] Determining device to run tests on: udid: ‘16cbd2192ab7916220d07ab2aad00168809547ea’, real device: true

[XCUITest] Safari test requested

[XCUITest] Setting up real device

[XCUITest] Using WDA path: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’

[XCUITest] Using WDA agent: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’

[XCUITest] Launching WebDriverAgent on the device

[XCUITest] Cannot parse major and minor version numbers from platformVersion “null”. Will build for the default platform instead

[XCUITest] Skipping setting of the initial display orientation. Set the “orientation” capability to either “LANDSCAPE” or “PORTRAIT”, if this is an undesired behavior.

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

[iOS] Could not find any webviews yet, refreshing/retrying

06-27-2018 02:58:22 PM - [RUN_DATA] - Logging run data ‘deviceId’ with value ‘16cbd2192ab7916220d07ab2aad00168809547ea’

06-27-2018 02:58:22 PM - [RUN_DATA] - Logging run data ‘deviceName’ with value ‘My iPad Air 2’

06-27-2018 02:58:22 PM - [RUN_DATA] - Logging run data ‘deviceModel’ with value ‘iPad5,3’

06-27-2018 02:58:22 PM - [RUN_DATA] - Logging run data ‘deviceManufacturer’ with value ‘Apple’

06-27-2018 02:58:22 PM - [RUN_DATA] - Logging run data ‘deviceOS’ with value ‘iOS’

06-27-2018 02:58:22 PM - [RUN_DATA] - Logging run data ‘deviceOSVersion’ with value ‘11.2.5’

06-27-2018 02:58:22 PM - [FAILED] - 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: 113.05 seconds

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘mymac-MacBook-Pro.local’, ip: ‘fe80:0:0:0:4f5:7387:7432:e683%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.13.5’, java.version: ‘1.8.0_102’

Driver info: driver.version: IOSDriver)

06-27-2018 02:58:22 PM - [END] - End action : openBrowser

06-27-2018 02:58:22 PM - [FAILED] - Test Cases/Main Test Cases/TC1_Verify Successful Login 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: 113.05 seconds

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘mymac-MacBook-Pro.local’, ip: ‘fe80:0:0:0:4f5:7387:7432:e683%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.13.5’, java.version: ‘1.8.0_102’

Driver info: driver.version: IOSDriver)

06-27-2018 02:58:22 PM - [END] - End Test Case : Test Cases/Main Test Cases/TC1_Verify Successful Login