Appium_iOS 配置

jiguanghover發表於2024-05-14
options = AppiumOptions()
options.load_capabilities({
"platformName": "iOS",
"appium:automationName": "XCUITest",
"appium:deviceName": "TestiPhone7",
"appium:udid":"571a523ecb9d16bcbf404d4613576b28e4",
"appium:bundleId":"com.hello.world",
"appium:platformVersion": "15.8",
"appium:noReset": True,
# "appium:fullReset": False,
"appium:useNewWDA": False,
"appium:usePrebuiltWDA": True
})

driver = webdriver.Remote("http://127.0.0.1:4723", options=options)