I'd like to create a script to open an url and fill some forms. I don't want to save the form data on the browser, so I think that this script would be a good solution for me.

Any help?

I know how to open the url, just calling firefox url on terminal. Thanks.

  • 5
    You can use curl or wget to send POST data to a web page.
    – jordanm
    Oct 13, 2012 at 1:24
  • There are many possible tools to do this. What exactly are you trying to do? Oct 13, 2012 at 4:34
  • See casperjs
    – Jim Paris
    Oct 13, 2012 at 4:42
  • @MichaelHampton, almost every day I have to check some informations filling 2 forms with personal data. But I don't want to save the data in my browser for privacy. So I'd like to execute a command on the terminal and get the site with the forms filled. Thanks.
    – Sigur
    Oct 13, 2012 at 13:26
  • 2
    With appropriate encryption, your browser (depending on the browser) may have better encryption and security for stored forms than the plaintext script you'll be writing to pre-fill the forms.
    – Alexios
    Oct 13, 2012 at 14:16

1 Answer 1


Xdotool lets you programatically (or manually) simulate keyboard input and mouse activity. http://manpages.ubuntu.com/manpages/natty/man1/xdotool.1.html

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .