python - Get contents of entire page using Selenium -
this question has answer here:
- python selenium accessing html source 6 answers
using selenium browser automation (python).
if understand correctly, following code used
inputelement = driver.find_element_by_name("q") the_text = inputelement.text
how go getting text on whole page opposed looking within particular element?
thanks much!
looks entire page text can found in:
driver.page_source
Comments
Post a Comment