Hi. I am making a python program that automatically enters information into a form on a website. I looked at a module called mechanize at first but then I realized that it didn't support javascript. Is there any way to take a piece of information and insert it into a "form" on a website that uses javascript?

The website I am using is www.locationary.com.

If you login and then go to a place/business page like this,

http://www.locationary.com/place/en/US/Virginia/Richmond/7-Eleven-p1018615957.jsp

then you will see a bunch of spots that need to be filled in. I looked at the page source and this "form" uses javascript. I just need a way to fill in those blanks now. Like I said, I tried mechanize and it didn't work but I also googled it and got nothing.

If you could offer any advice, I would really appreciate it.

Thanks.

I've heard of this program called Selenium. Would it work?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.