标签:release import 命令 use turn dev nbsp androi remote
一、客户端启用appium。
二、CMD中命令行启动appium。
三、启动的代码。(appium的服务一和二选择一个就好了)
from appium import webdriver
from time import sleep
def get_driver():
capablities = {
"platformName": "Android",
"deviceName": "127.0.0.1:62001",
"app": "C:\\java\\gearbest_v4.0.1_release.apk",
"appWaitActivity":"com.globalegrow.app.gearbest.soa.model.account.activity.UserLikeActivity"
}
driver = webdriver.Remote("http://127.0.0.1:4723/wd/hub", capablities)
return driver
driver = get_driver()
AndroidUI自动化(python+appium)-Appium 启动
标签:release import 命令 use turn dev nbsp androi remote
原文地址:https://www.cnblogs.com/gaotiansai/p/10311998.html