开发者

Website log in auto fill

开发者_StackOverflow中文版

I want to auto fill in a web page and then submit the data in C#.

How can I do this?


You will need to fake a POST HTTP-Request to the webserver. You will need the following classes: HttpWebRequest and HttpWebResponse. The POST data will be the values for the form fields, to find out the POST request a browser sends out, have a look at Wireshark.

Another way could be the WebClient.


Do you mean programmatically or inside of an actual browser window? If the latter, try WatiN.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜