com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: '' (Root cause: org.openqa.selenium.WebDriverException:

I have configured desire capabilities setting in project settings and I have executed script in Saucelabs but script is not running. it is showing below error message.

Test Cases/Login FAILED.


Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: β€˜β€™ (Root cause: org.openqa.selenium.WebDriverException: Unable to parse remote response: No browserName or device specified in session request. Please check our platforms documentation (https://saucelabs.com/docs/platforms): {}
Build info: version: β€˜3.7.1’, revision: β€˜8a0099a’, time: β€˜2017-11-06T21:07:36.161Z’
System info: host: β€˜DESKTOP’, ip: β€˜0.0.944.230’, os.name: β€˜Windows 10’, os.arch: β€˜amd64’, os.version: β€˜10.0’, java.version: β€˜1.8.0_181’
Driver info: driver.version: CRemoteWebDriver)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:60)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser.call(Unknown Source)
at Login.run(Login:17)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:319)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:298)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:290)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:224)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:106)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:97)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1549974357385.run(TempTestCase1549974357385.groovy:22)

Regards,
Poovaraj

According to this:

the version argument should be a String and not a Number. You may also need to pass the browserName argument, regardless of the fact that you are in the Chrome submenu. This is shown in the error you are getting:

It is working now. Thank you !

1 Like

A post was split to a new topic: Edge chromium. I updated the web driver but still I am getting the same error