firefox - How to get text from webpage using selenium and python? -


When launching Firefox with selenium, how do you get all the text on that page to save it to a text file?

try it

  selenium import web driver as a driver browser In = driver. Firefox () Browser.Gate ("http://www.google.com") Print Browser.Find_Alment_b_expit ("html"). Text  

Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -