如何在BrowserStack上执行多窗口/选项卡TestCafe脚本?

问题描述 投票:0回答:1

我们使用 TestCafe 脚本自动化了多选项卡/窗口场景,这些脚本可以在本地系统上运行,没有任何问题。但是当我们在 BrowserStack 上执行它们时,我们收到以下错误

错误

Multi-window mode is supported only in locally-installed Chrome, Chromium, Edge 84+ and Firefox. Run tests in these browsers to use the "openWindow" method

Multi-window mode is supported only in locally-installed Chrome, Chromium, Edge 84+ and Firefox. Run tests in these browsers to use the "getCurrentWindow" method

这是 TestCafe 的限制。是否有其他方法可以在 BrowserStack 上执行这些 TestCafe 脚本?

testcafe
1个回答
0
投票

TestCafe 无法在云/远程浏览器中以多窗口模式运行测试。 TestCafe 文档中说明了此限制:https://testcafe.io/documentation/402841/guides/intermediate-guides/multiple-browser-windows#limitations

© www.soinside.com 2019 - 2024. All rights reserved.