根据https://saucelabs.com/docs/platforms/appium,我应该能够针对 Appium iOS 模拟器(而不是旧的 Selenium RC iOS 模拟器)运行:
caps = {browserName: ''};
caps.platform = 'OS X 10.8';
caps.version = '7';
caps['device-orientation'] = 'portrait';
caps.app = 'safari' or 'URL-TO-YOUR-APP';
caps.device = 'iPhone Simulator';
但是,它对我不起作用(应用程序指定为“safari”)。是否有其他配置可行?