我正在尝试使用appium驱动程序在iPhone 8模拟器上启动Safari浏览器,但无法正常工作
我正在尝试使用以下代码在iphone 8模拟器上启动Safari,但无法在iOS模拟器中安装WebDriverAgentRunner
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("platformVersion", "12.4");
capabilities.setCapability("browserName", "Safari");
capabilities.setCapability("deviceName", "iPhone 8");
capabilities.setCapability("platformName", "IOS");
capabilities.setCapability("udid", "FFFFB0BD-B7A2-4DDC-8456-C92201FF32B7");
capabilities.setCapability("automationName", "XCUITest");
capabilities.setCapability ("platformName", "iOS");
URL url = new URL("http://0.0.0.0:4723/wd/hub");
IOSDriver driver = new IOSDriver(url, capabilities);
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
期望在iOS模拟器中安装WebDriverAgentRunner并启动Safari浏览器。 我也无法获得很多鸦片日志