报错内容如下:
Activity used to start app doesn't exist or cannot be launched! Make sure it exists and is a launchable activity
发现只需要把启动方式替换成app就行了
desired_caps = {
'platformName': 'Android',
'deviceName': '12b8a7ca',
'platformVersion': '5.0.2',
'noReset':'true',
'appPackage': 'com.tencent.mm',
'appActivity': '.ui.LauncherUI',
# 当通过appPackage和appActivity启动失败时可替换下面这种,注意需要把上面的方式给注释掉
# 'app':'E:\\weixin_1220.apk',
'unicodeKeyboard':'true',
'resetKeyboard':'true',
'chromeOptions':chrome_options_h5
}