【发布时间】:2017-11-02 19:09:37
【问题描述】:
我正在尝试使用 webdriverIO 通过 iOS 模拟器运行浏览器测试。但不是通过 iOS 模拟器运行浏览器,而是通过桌面版 Safari 运行浏览器。我没有收到任何错误。我正在使用 wdio 测试运行器,这在我的配置中。有什么建议吗?
capabilities: [
{
appiumVersion: '1.7.1',
deviceName: 'iPhone Simulator',
deviceOrientation: 'portrait',
platformversion: '9.0',
platformName: 'iOS',
port: '4723',
browserName: 'safari'
}
],
/
services: ['selenium-standalone', 'appium'],
appium: {
args: {
address: '127.0.0.1',
commandTimeout: '7200',
sessionOverride: true,
debugLogSpacing: true,
platformVersion: '9.0',
platformName: 'iOS',
showIosLog: true,
deviceName: 'iPhone',
nativeInstrumentsLib: true,
isolateSimDevice: true,
browserName: 'chrome'
}
},
【问题讨论】:
标签: selenium selenium-webdriver safari webdriver webdriver-io