Problems encountered in the process of automatic testing of mobile terminal with Python + appnium.
Reason: I reported an error in selenium 3.3.1. After uninstalling selenium, I reinstalled selenium 4.0.0 (installed by default and the latest version). I ran it again and the problem was solved. Only the positioning mode needs to be changed to the latest, otherwise there will be a warning.
The new positioning method of mobile terminal is as follows:
from appium.webdriver.common.mobileby import MobileBy
driver.find_element(MobileBy.ID, "com.tencent.mm:id/hej").click()
Read More:
- Attributeerror: object has no attribute
- python gensim AttributeError: ‘Doc2Vec‘ object has no attribute ‘dv‘
- Attributeerror: ‘dataframe’ object has no attribute ‘IX’ error
- AttributeError: ‘Tensor‘ object has no attribute ‘_numpy‘
- AttributeError: ‘PipelinedRDD‘ object has no attribute ‘toDF‘
- AttributeError: type object ‘Image‘ has no attribute ‘open‘
- AttributeError: ‘_io.TextIOWrapper‘ object has no attribute ‘softspace‘
- Debug | AttributeError: ‘numpy.int64‘ object has no attribute ‘to_pydatetime‘
- Problem: attributeerror: ‘tensor’ object has no attribute ‘creator’
- AttributeError: ‘dict‘ object has no attribute ‘iteritems‘
- Attributeerror: ‘bytes’ object has no attribute’ encode ‘
- PyTorch – AttributeError: ‘bool‘ object has no attribute ‘sum‘
- AttributeError:‘AxesSubplot’object has no attribute‘bar_label’
- AttributeError: ‘NoneType‘ object has no attribute ‘append‘
- AttributeError: ‘NoneType‘ object has no attribute ‘shape‘
- Python AttributeError: ‘bool‘ object has no attribute ‘ui‘
- AttributeError: ‘Settings’ object has no attribute ‘ROOT_URLCONF’
- Keras Model AttributeError:’str‘ object has no attribute ’call‘
- Solution: attributeerror: type object ‘ioloop’ has no attribute ‘initialized’
- AttributeError: ‘numpy.ndarray‘ object has no attribute ‘softmax‘