How do I automate navigation to a website that requires authentication?

Posted by Wiz on Stack Overflow See other posts from Stack Overflow or by Wiz
Published on 2010-04-08T08:27:04Z Indexed on 2010/04/08 8:33 UTC
Read the original article Hit count: 498

Here's what I'm trying to achieve. I would like to write a script that will navigate to a website that requires me to be authenticated as myself, say Facebook, Live Spaces, Twitter or any other, and then have that script search for certain information on one of the pages of the website.

I've done something similar in the past with the Windows.Forms WebBrowser control, which is a full blown implementation of IE that can be controlled through code and will store whatever cookies you get once you're authenticated, but it was very unfriendly to modify and I was hoping to use a scripting language instead, maybe Powershell or something of that sort.

Are there maybe some good tutorials about this out there on the web?

Thanks!

© Stack Overflow or respective owner

Related posts about facebook

Related posts about screen-scraping