Reputation: 133
I want to programatically click on WebBrowser1's web page.
I tried: WebBrowser1.Document.Click()
, it doesn't work.
Upvotes: 0
Views: 237
Reputation: 18310
You cannot click the document itself, however you can access the body via WebBrowser.Document.Body
and then call InvokeMember()
on that:
WebBrowser1.Document.Body.InvokeMember("click")
Upvotes: 1