appium相关命令
基础信息
from appium import webdriver
from appium.webdriver.common.touch_action import TouchAction
import time
desire_cap={
"appActivity": ".launch.LaunchSplashEduActivity",
"appPackage": "com.tencent.wework",
"platformName": "android",
"deviceName": "emulator-5554",
"noReset": True,#不对应用reset
"dontStopAppOnReset": True
"unicodeKeyBoard": True #切换输入
"resetKeyBoard": True
}
driver = webdriver.Remote("http://localhost:4723/wd/hub",desire_cap)
driver.implicitly_wait(20)
adb devices
adb shell pm list packages
adb logcat | grep ActivityManager 或者 adb logcat | grep Displayed
评论




