I am trying to get the tag text content in html page by using Selenium methods, but it seems method someElement.getText()
is not available in Python.
Any help, please?
Here's traceback:
AttributeError: 'WebElement' object has no attribute 'getText'
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…