Using webbrowser control to automate tasks?

Schowalter

New member
Joined
Jun 28, 2024
Messages
3
Points
1
Is using the web browser control to automate tasks or is using httpwebrequest and the hard-coding method better way to achieve an efficient bot?

i heard that the wb control is slower but I don't see why is it slow..:confused:
 

Graciela

New member
Joined
Jun 28, 2024
Messages
3
Points
1
You would be much better off with raw HTTPWebRequests.
The WebBrowser control is CPU intensive because it's something like a limited version of IE...All page loads are processed, images loaded, etc., etc.
With a WebRequest you don't load anything, you just POST and GET (text/HTML).
 
Top