Recently I used webbrowser to write some automatic registration information. ProgramYou have encountered some problems when using webbroser. Let's see if you have any solutions. Thank you.
1. The documentcompleted event of webbroswer occasionally does not trigger
In most cases, this event is triggered, but sometimes this event is not triggered, which makes people feel very depressed.
2. How to Control sessions and cookies when multiple webbrowsers exist
During registration, multiple webbrowsers are used for registration to speed up registration. However, some websites may encounter problems and their sessions and cookies may be confused, different webbroser will get the same registration code image.
3. How to Handle refresh events
In. net, the webbrowser control does not provide a response to the refresh event. I don't know if there is a good way to respond to this event.
In addition, you can share your experience in using webbrowser, other browser controls, or other technologies to achieve automatic registration.