macaca icon indicating copy to clipboard operation
macaca copied to clipboard

怎么在iphone真机上运行safari测试

Open k19810703 opened this issue 9 years ago • 1 comments

请教大神们,怎么在iphone真机上运行safari测试 const iOSSafariOpts = { // deviceName: 'iPhone 7', // platformName: 'iOS', browserName: 'Safari', //这里我都填写了正确的信息,考虑到隐私性,这里不写出来,实际没问题 udid: 'myudid' }; 光写udid就行了么?

运行了出下面这个错 Error: [init({"browserName":"Safari","udid":"myudid","bundleId":"com.apple.mobilesafari"})] The environment you requested was unavailable.

k19810703 avatar Apr 12 '17 09:04 k19810703

@k19810703 try with this properties

platformName: 'iOS',
app: <app_path>,
deviceName: <device_name>,
platformVersion: <version>,

dharmakrish6 avatar Apr 26 '17 14:04 dharmakrish6