【问题标题】:Required capabilities when running BrowserStack Automate with a mobile device使用移动设备运行 BrowserStack Automate 时所需的功能
【发布时间】:2017-03-30 20:41:48
【问题描述】:

说明
BrowserStack documentation 列出了您可以为其 Automate 产品设置的所有功能,但没有说明必须提供哪些功能才能进行测试,例如“Google Nexus 5”。

Their code generator 建议:

{
   "browserName" : "android",
   "platform" : "ANDROID",
   "device" : "Google Nexus 5"
} 

但我从经验中知道这组功能也有效:

{"os":"android", "device": "Google Nexus 5"}

因此我问自己:

问题
{"device": "Google Nexus 5"} 也可以吗?
如果没有,在特定移动设备上使用 BrowserStack Automate 时,最少且正确的功能集是什么?

【问题讨论】:

    标签: webdriver automated-tests browserstack


    【解决方案1】:

    推荐使用 BrowserStack 的代码生成器。这可确保您拥有正确的测试环境。

    【讨论】:

      【解决方案2】:

      是的,当您请求仅设置了“设备”功能的 webdriver 会话时,BrowserStack 将使用设备的默认浏览器成功地在该设备上创建会话。

      来源:与 BrowserStack 技术支持员工的电子邮件对话。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2016-11-16
        • 2014-10-21
        • 1970-01-01
        • 2016-06-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2019-10-17
        相关资源
        最近更新 更多