【问题标题】:BrowserStack integration with TestCafe: How to fix "The specified screen resolution is not compatible with the chosen OS version"?BrowserStack 与 TestCafe 的集成:如何修复“指定的屏幕分辨率与所选操作系统版本不兼容”?
【发布时间】:2020-07-13 15:30:41
【问题描述】:

我已经配置了环境变量如下:

该分辨率应该与每个操作系统兼容,但仍然尝试了许多其他操作系统以及不同的操作系统。 我对项目的 .env 文件应用了相同的设置。

【问题讨论】:

  • 你试过什么操作系统? I see that this resolution is the default one and when selected is not added to the selenium capabilities, it might be a bug from them.在不添加分辨率功能的情况下尝试一下,看看它得到了什么分辨率,然后从他们的automate/capabilities 中指定另一个组合;

标签: testing automated-tests e2e-testing testcafe browserstack


【解决方案1】:

您为启动测试提供了哪些配置?

由于您已指定标志BROWSERSTACK_USE_AUTOMATE="1"https://www.browserstack.com/automate/capabilities 上的设置将生效。

【讨论】:

  • 目前我从命令行启动测试。这些功能设置不是仅适用于基于 Selenium 的项目吗?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2016-06-28
  • 1970-01-01
  • 1970-01-01
  • 2015-03-15
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多