Unable to open browser with url: '' (Root cause: org.openqa.selenium.WebDriverException: An unknown

When i try to run the test on Android device i am seeing the below error:

Unable to open browser with url: ‘’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: unknown error: Failed to start com.android.chrome on device 1215fc8be5122004: Starting: Intent { dat=data:, cmp=com.android.chrome/com.google.android.apps.chrome.Main launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } }
Error type 3
Error: Activity class {com.android.chrome/com.google.android.apps.chrome.Main} does not exist.

(Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 48.89 seconds
Build info: version: ‘2.53.0’, revision: ‘35ae25b’, time: ‘2016-03-15 17:00:58’
System info: host: ‘LMANNLW7HYD’, ip: ‘10.224.136.115’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_102’
Driver info: com.kms.katalon.core.appium.driver.SwipeableAndroidDriver)

1 Like

Hey, I am facing the same issue but unfortunately there is no reply for it.

Can anyone please help in this ?
Thanks in advance

Hi there,

Can I have a screenshot showing your script? Is there Chrome application installed on your device?

Hi Vinh,

Yes, chrome is installed in my phone but still it didn’t work. This phone was Xiomi Redmi 4

It worked absolutely fine with Nexus phone. Now I am testing on nexus but I would still be interested in Why ? it didn’t happen there

Thanks
Piyush

I resolve the problem adding to project classpath selenium and appium jar files. I’m using katalon 5.2.0 on windows.

Hi Enrique, can you guide me what jar files you added to the project and how, I find it difficult to make this work…Please help…

I’m facing the same problem but when trying to execute a simple step on mobile.
Here is the error:

Test Cases/Example 1 FAILED because (of) Unable to start app at: ‘C:\Apps\royal-1.6.1-arm64-v8a.apk’ (Root cause: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Invalid Version: lib (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 669 milliseconds

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

System info: host: ‘AR-IT02446’, ip: ‘10.221.6.86’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_102’

Driver info: driver.version: SwipeableAndroidDriver)

Test Cases/Example 1.run:22

Here is the script:

import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint

import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase

import static com.kms.katalon.core.testdata.TestDataFactory.findTestData

import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject

import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint

import com.kms.katalon.core.checkpoint.CheckpointFactory as CheckpointFactory

import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as MobileBuiltInKeywords

import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile

import com.kms.katalon.core.model.FailureHandling as FailureHandling

import com.kms.katalon.core.testcase.TestCase as TestCase

import com.kms.katalon.core.testcase.TestCaseFactory as TestCaseFactory

import com.kms.katalon.core.testdata.TestData as TestData

import com.kms.katalon.core.testdata.TestDataFactory as TestDataFactory

import com.kms.katalon.core.testobject.ObjectRepository as ObjectRepository

import com.kms.katalon.core.testobject.TestObject as TestObject

import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WSBuiltInKeywords

import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS

import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUiBuiltInKeywords

import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI

import internal.GlobalVariable as GlobalVariable

Mobile.startApplication(‘C:\\Apps\\royal-1.6.1-arm64-v8a.apk’, false)