我正在尝试在多个浏览器上执行我的webdriver.io javascript测试。它适用于Firefox和Chrome,但不适用于Safari。它会同时启动Firefox和chrome的并行执行,但是在chrome和firefox上运行所有测试场景后,它会无限期地保留Safari的执行/不执行Safari的操作,而且也不会结束运行。我的配置文件包含以下浏览器信息:
capabilities: [
{
// maxInstances can get overwritten per capability. So if you have an in-house Selenium
// grid with only 5 firefox instances available you can make sure that not more than
// 5 instances get started at a time.
maxInstances: 1,
//
browserName: 'chrome'
},
{
// maxInstances can get overwritten per capability. So if you have an in-house Selenium
// grid with only 5 firefox instances available you can make sure that not more than
// 5 instances get started at a time.
maxInstances: 1,
//
browserName: 'firefox'
},
{
// maxInstances can get overwritten per capability. So if you have an in-house Selenium
// grid with only 5 firefox instances available you can make sure that not more than
// 5 instances get started at a time.
maxInstances: 1,
//
browserName: 'safari'
},
],