python - Get contents of entire page using Selenium -


this question has answer here:

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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -