国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

WebDriverException: Message: A new session could not be created.

2019-11-06 06:32:56
字體:
來源:轉載
供稿:網友

Initially, I had set desired capabilities to:

desired_caps['platformName'] = 'Android'desired_caps['platformVersion'] = '4.4'desired_caps['deviceName'] = 'Moto E'desired_caps['appPackage'] = 'atpwta.live'desired_caps['appActivity'] = '.activity.Main'

After reading the appium docs I solved the issue by adding the following line.

desired_caps['appWaitActivity']= '.activity.root.TournamentList'

So why did appWaitActivity help?

A simplified (but technically incorrect) way of understanding this error is that Appium was waiting for a screen name .activity.Main and timed out. The error helpfully tells you the current active screen is .activity.root.TournamentList. The desired capability appWaitActivity tells Appium what Android activity it should wait for. If you see a similar error, set your appWaitActivity to match the current activity in the error message.


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 无为县| 襄汾县| 徐汇区| 南投县| 阜宁县| 阜新市| 南江县| 平阴县| 陵水| 建昌县| 宜丰县| 汶川县| 东丰县| 双辽市| 黑山县| 博乐市| 娄底市| 兰溪市| 新和县| 团风县| 祁门县| 册亨县| 苍南县| 贞丰县| 元朗区| 七台河市| 通山县| 永福县| 东港市| 台东县| 望都县| 中西区| 镇原县| 商水县| 农安县| 桂林市| 得荣县| 保亭| 都安| 攀枝花市| 故城县|