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

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

java - SmsManager sending message more than one -