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

php - Select box validation (in laravel) -

pandas - Iterate on Groupby Object's fields -

javascript - Render HTML after each iteration in loop -