Comments (2)
这句话可以注释掉,可能不兼容
from app_spider.
我也遇到了这个,然后我的手机是vivo Android。注释掉home后又出现stop_app出错。然后把stop_app注释掉后就会出现等待广告元素异常,然后就被异常退出。
等待广告元素异常
Waiting timeout for appearance of "UIObjectProxy of "com.songheng.eastnews:id/aoy""
Traceback (most recent call last):
File "C:/Users/26879/Desktop/yangmao/%E4%B8%9C%E6%96%B9%E5%A4%B4%E6%9D%A1/东方头条.py", line 545, in
dftt.run()
File "C:/Users/26879/Desktop/yangmao/%E4%B8%9C%E6%96%B9%E5%A4%B4%E6%9D%A1/东方头条.py", line 77, in run
self.__pre_and_skip_ads()
File "C:/Users/26879/Desktop/yangmao/%E4%B8%9C%E6%96%B9%E5%A4%B4%E6%9D%A1/东方头条.py", line 441, in pre_and_skip_ads
poco('com.songheng.eastnews:id/g').wait_for_appearance(120)
File "E:\venv\yangmao\lib\site-packages\poco\proxy.py", line 681, in wait_for_appearance
raise PocoTargetTimeout('appearance', self)
poco.exceptions.PocoTargetTimeout: Waiting timeout for appearance of "UIObjectProxy of "com.songheng.eastnews:id/g""
[09:55:16][DEBUG]<airtest.core.android.adb> E:\venv\yangmao\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 28e4e44d forward --remove tcp:15739
[09:55:16][DEBUG]<airtest.core.android.adb> E:\venv\yangmao\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s 28e4e44d forward --remove tcp:19755
Process finished with exit code 1
from app_spider.
Related Issues (10)
- 东方头条.py里面的from comments import generate_a_comment HOT 4
- 1
- AttributeError: 'NoneType' object has no attribute 'home' HOT 7
- 请问spider_dangdang.py里面的from element_utils import * HOT 1
- 请问报这种错误要怎么办You need the android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission HOT 1
- 微信朋友圈运行报错 HOT 1
- 安装apk后如何使用 HOT 1
- 微视不能自动跳转到下个app HOT 5
- 闲鱼机器人 具体如何使用啊,README HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from app_spider.