from appium.webdriver import Remote
caps = {
"platformName": "Android",
"deviceName": "Android Emulator",
"automationName": "UiAutomator2",
"app": file
}
driver = Remote(desired_capabilities=caps,
command_executor = '<http://127.0.0.1:4723>')
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) | Powered by Discuz! X3.2 |