Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to automate browsing using python? [closed]

suppose, I need to perform a set of procedure on a particular website say, fill some forms, click submit button, send the data back to server, receive the response, again do something based on the response and send the data back to the server of the website. I know there is a webbrowser module in python, but I want to do this without invoking any web browser. It hast to be a pure script.

Is there a module available in python, which can help me do that?
thanks

like image 832
kush87 Avatar asked Aug 18 '09 09:08

kush87


People also ask

Can we automate web application using Python?

You have learned that Python can do everything that a web browser can do, and a bit more. You could easily write scripts to control virtual browser instances that run in the cloud. You could create bots that interact with real users or mindlessly fill out forms! Go forth and automate!


1 Answers

selenium will do exactly what you want and it handles javascript

like image 134
adaptive Avatar answered Oct 02 '22 08:10

adaptive