Could not navigate to webview

iPad real device issues - Katalon 5.4

Hello,

I meet the following issue when trying to run my very first sample test case on a real iPad device using katalon. It failed at openBrowser step:

05-12-2018 03:35:52 PM - [START] - Start Test Case : Test Cases/Sample

05-12-2018 03:35:52 PM - [INFO] - Evaluating variables for test case

05-12-2018 03:35:52 PM - [START] - Start action : openBrowser

05-12-2018 03:35:53 PM - [INFO] - Opening browser

05-12-2018 03:35:53 PM - [INFO] - Starting ‘iOS’ driver

05-12-2018 03:35:53 PM - [INFO] - ios_webkit_debug_proxy server started on port 54051

05-12-2018 03:35:59 PM - [INFO] - Appium server started on port 54,054

[Appium] Welcome to Appium v1.8.0

[Appium] Non-default server args:

[Appium] port: 54054

[Appium] loglevel: info

[Appium] chromeDriverPort: 54055

[Appium] tmpDir: /var/folders/k4/93bf7_yn3g1_wzvtjdrp3_kw0000gp/T//Katalon/Appium/Temp1526114153710

[Appium] webkitDebugProxyPort: 54051

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

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

[HTTP] {}

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

[HTTP]

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

[HTTP] {“desiredCapabilities”:{“automationName”:“XCUITest”,“browserName”:“Safari”,“deviceName”:“iPad”,“newCommandTimeout”:1800,“platformName”:“iOS”,“realDeviceLogger”:"/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole",“udid”:“1a26fe84e2bad91fd65d47624d6d7d4ff0bba977”,“wdaLocalPort”:54050},“capabilities”:{“desiredCapabilities”:{“automationName”:“XCUITest”,“browserName”:“Safari”,“deviceName”:“iPad”,“newCommandTimeout”:1800,“platformName”:“iOS”,“realDeviceLogger”:"/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/tools/deviceconsole/deviceconsole",“udid”:“1a26fe84e2bad91fd65d47624d6d7d4ff0bba977”,“wdaLocalPort”:54050},“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”,“deviceName”,“newCommandTimeout”,“platformName”,“realDeviceLogger”,“udid”,“wdaLocalPort”]. Falling back to JSONWP protocol.

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

[Appium] Capabilities:

[Appium] automationName: XCUITest

[Appium] browserName: Safari

[Appium] deviceName: iPad

[Appium] newCommandTimeout: 1800

[Appium] platformName: iOS

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

[Appium] udid: 1a26fe84e2bad91fd65d47624d6d7d4ff0bba977

[Appium] wdaLocalPort: 54050

[BaseDriver] Session created with session id: c9a89c32-97c6-456a-b52e-956c3558bd42

[XCUITest] Determining device to run tests on: udid: ‘1a26fe84e2bad91fd65d47624d6d7d4ff0bba977’, 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

[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

[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

05-12-2018 03:38:13 PM - [RUN_DATA] - Logging run data ‘deviceId’ with value ‘1a26fe84e2bad91fd65d47624d6d7d4ff0bba977’

05-12-2018 03:38:13 PM - [RUN_DATA] - Logging run data ‘deviceName’ with value ‘iPad’

05-12-2018 03:38:13 PM - [RUN_DATA] - Logging run data ‘deviceModel’ with value ‘iPad5,1’

05-12-2018 03:38:13 PM - [RUN_DATA] - Logging run data ‘deviceManufacturer’ with value ‘Apple’

05-12-2018 03:38:13 PM - [RUN_DATA] - Logging run data ‘deviceOS’ with value ‘iOS’

05-12-2018 03:38:13 PM - [RUN_DATA] - Logging run data ‘deviceOSVersion’ with value ‘11.2.6’

05-12-2018 03:38:13 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!

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

System info: host: ‘C02VR2N7HV2H.local’, ip: ‘fe80:0:0:0:412:4fc4:3e01:b4cd%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.13.4’, java.version: ‘1.8.0_102’

Driver info: driver.version: IOSDriver

remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not navigate to webview; there are none!

at getResponseForW3CError (/usr/local/lib/node\_modules/appium/node\_modules/appium-base-driver/lib/protocol/errors.js:800:13)

at asyncHandler$ (/usr/local/lib/node\_modules/appium/node\_modules/appium-base-driver/lib/protocol/protocol.js:352:37)

at tryCatch (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:67:40)

at GeneratorFunctionPrototype.invoke \[as \_invoke\] (/usr/local/lib/node\_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)

at GeneratorFunctionPrototype.prototype.(anonymous function) \[as next\] (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:100:21)

at GeneratorFunctionPrototype.invoke (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:136:37)

at <anonymous>)

05-12-2018 03:38:13 PM - [END] - End action : openBrowser

05-12-2018 03:38:13 PM - [FAILED] - Test Cases/Sample 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!

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

System info: host: ‘C02VR2N7HV2H.local’, ip: ‘fe80:0:0:0:412:4fc4:3e01:b4cd%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.13.4’, java.version: ‘1.8.0_102’

Driver info: driver.version: IOSDriver

remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not navigate to webview; there are none!

at getResponseForW3CError (/usr/local/lib/node\_modules/appium/node\_modules/appium-base-driver/lib/protocol/errors.js:800:13)

at asyncHandler$ (/usr/local/lib/node\_modules/appium/node\_modules/appium-base-driver/lib/protocol/protocol.js:352:37)

at tryCatch (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:67:40)

at GeneratorFunctionPrototype.invoke \[as \_invoke\] (/usr/local/lib/node\_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)

at GeneratorFunctionPrototype.prototype.(anonymous function) \[as next\] (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:100:21)

at GeneratorFunctionPrototype.invoke (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:136:37)

at <anonymous>)

05-12-2018 03:38:13 PM - [END] - End Test Case : Test Cases/Sample

Any hints?

Thanks.

I have the same issue, do you have fixed it?

How did you get Katalon to detect your deviceName? I seem to be stuck there.

plus one! Pls update if you find a solution