How to use Microsoft's WebBrowser Control

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
nikivancic
Posts: 10
Joined: Sun Oct 05, 2008 5:31 pm
Location: Bellingham, WA, USA
Contact:

How to use Microsoft's WebBrowser Control

Post by nikivancic » Sun Oct 05, 2008 6:21 pm

I believe that I saw some text about the embedded WebBrowser Control, but searching for it created a lot of unrelated information :cry:

How can I create the instance of the WebDocument object related to the instance of the WebBrowser control? Can someone point me to the relevant information please?

Nik

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Post by Support Team » Mon Oct 06, 2008 9:46 am

I believe, WebDocument.GetDocument(Control) is the method you are searching for. The method takes the control instance of a web browser control (embedded or stand-alone IE) and returns the corresponding WebDocument instance.

Regards,
Alex
Ranorex Support Team