S
stewart
Hi,
I'm looking to automate a task using the WebBrowser Control.
Specifically I want to navigate to a given page from the internet,
populate a field then click the submit button.
Behind the scenes the submit button is actually doing javascript stuff
rather than just making a POST submission. This prevents me from just
capturing packets and making a post using the HttpWebRequest.
I'm thinking something along the line of injecting some javascript
into the HTML recieved and then using .ObjectForScripting
and .InvokeScript to use that javascript to populate the controls and
click the button.
Any takers?
I'm looking to automate a task using the WebBrowser Control.
Specifically I want to navigate to a given page from the internet,
populate a field then click the submit button.
Behind the scenes the submit button is actually doing javascript stuff
rather than just making a POST submission. This prevents me from just
capturing packets and making a post using the HttpWebRequest.
I'm thinking something along the line of injecting some javascript
into the HTML recieved and then using .ObjectForScripting
and .InvokeScript to use that javascript to populate the controls and
click the button.
Any takers?