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)
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)