If you want to get the innertext of element try .text
:
for element in elements:
print(element.text)
For innerHTML use .html
:
for element in elements:
print(element.html)
CLICK HERE to find out more related problems solutions.
If you want to get the innertext of element try .text
:
for element in elements:
print(element.text)
For innerHTML use .html
:
for element in elements:
print(element.html)
CLICK HERE to find out more related problems solutions.