Opening Chrome browser in Android device using Robot Framework script and chromedriver?

会有一股神秘感。 提交于 2019-12-04 18:13:23

The desired capabilities argument is not processed for local webdrivers. Until that is resolved you can use the more flexible Create Webdriver keyword instead of Open Browser. I cannot speak to whether this is the best way to launch Chrome on Android, but here is a direct translation of your Python code:

${options}=    Create Dictionary    androidPackage=com.android.chrome
${caps}=    Create Dictionary    chromeOptions=${options}
Create Webdriver    Remote    command_executor=http://localhost:9515    desired_capabilities=${caps}
Go To    http://google.com
Close Browser
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!