Dictionnary type for Desired Capabilities are not supported

I want to add the capability to my WebDriver
timeouts={implicit=0, pageLoad=300000, script=30000}

the error is:
01-02-2019 05:26:38 PM Test Cases/New Test Case

Elapsed time: 2.592s

Test Cases/New Test Case FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘’ (Root cause: org.openqa.selenium.WebDriverException: invalid argument: cannot parse capability: timeouts
from invalid argument: cannot parse implicit
from invalid argument: must be an integer
(Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a),platform=Windows NT 10.0.15063 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 82 milliseconds
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘044-CBOUIL1’, ip: ‘132.206.242.27’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’
Driver info: driver.version: CChromeDriver)
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 New Test Case.run(New Test Case:16)
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 TempTestCase1546467996315.run(TempTestCase1546467996315.groovy:22)

so it need to be an integer.

Your interface does not permit to put an integer. If I put 0 then it writes 0.0
So I edited com.kms.katalon.core.webui.chrome.properties and set :
{"CHROME_DRIVER":{"timeouts":{"implicit":0,"pageLoad":300000,"script":30000}}}
But in the interface it’s still


With same error :
Test Cases/New Test Case FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘’ (Root cause: org.openqa.selenium.WebDriverException: invalid argument: cannot parse capability: timeouts
from invalid argument: cannot parse implicit
from invalid argument: must be an integer

Shot in the dark: have you tried setting the type to String for those properties?

Yes, not working neither

Hi @christophe.bouillaud,

Is the problem still there?
I tried reproducing it on KS 8.2.0 with Desired Capabilities: timeouts={implicit=0, pageLoad=300000, script=30000}.
And it works fine now.

Regards,
Nam Nguyen.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.