如下为启动 格来云游戏APP启动信息
代码如下:
1 from appium import webdriver 2 3 caps = {} 4 caps["platformName"] = "Android" 5 caps["platformVersion"] = "7" 6 caps["deviceName"] = "leo" 7 caps["appPackage"] = "cn.gloud.client.mobile" 8 caps["appActivity"] = "cn.gloud.client.mobile.init.InitActivity" 9 ‘‘‘ 10 deviceName 获取 11 adb devices -l 12 appPackage 获取 13 aapt dump badging + 包名 14 package: name=‘cn.gloud.client.mobile‘ 15 appActivity 获取 16 launchable-activity: name=‘cn.gloud.client.mobile.init.InitActivity‘ 17 ‘‘‘ 18 driver = webdriver.Remote("http://localhost:4723/wd/hub", caps
原文地址:https://www.cnblogs.com/guoyb/p/11571403.html
时间: 2024-11-06 09:24:19