Groups | Blog | Home
all groups > c# > march 2007 >

c# : Web browser automation in .NET


Ludwig Wittgenstein
3/18/2007 11:34:21 PM
Hi, all.

Does anyone know of any .NET library that can do web automation? I
was trying to use SHDocVw myself but I'm having so much problems
capturing the events and getting document elements. Is there a library
that can do all this?


Thanks,
Marc Gravell
3/19/2007 12:56:55 AM
In .Net 2.0 there is a WebBrowser forms control that wraps the main
parts of SHDocVw - but not quite all. Would that do?

Marc
Ludwig Wittgenstein
3/19/2007 10:58:51 AM
Hi, Marc.

Can it automated actions on the page loaded in it? like clicking
buttons, selecting from a drop-down menu...etc?

Thanks,
Marc Gravell
3/19/2007 2:21:25 PM
Yes; you can invoke all the same methods/properties that you could
through script (javascript etc) via the InvokeMember method, or you
can re-write the DOM completely.

Marc
alex_f_il NO[at]SPAM hotmail.com
3/28/2007 7:57:30 AM
On Mar 19, 2:34 am, "Ludwig Wittgenstein" <sender_...@hotmail.com>
[quoted text, click to view]

You can try SWExplorerAutomation (SWEA) from http://webiussoft.com.
The program creates an automation API for any Web application
developed with HTML, DHTML or AJAX. The Web application becomes
programmatically accessible from any .NET language.
SWEA API provides access to Web application controls and content.
The API is generated using SWEA Visual Scene Designer. SWEA Visual
Scene Designer helps create programmable objects from Web page content.
AddThis Social Bookmark Button