thangdc / web-automation

Web Automation written in C#, using Web Browser control to automate many things. You can do many things by write JavaScript code to control a Web Browser.
http://www.thangdc.com
73 stars 44 forks source link

Browser to run slowly #2

Closed thangdc closed 7 years ago

thangdc commented 10 years ago

I have an issue when run go('') more than 1000 times

2

I thinks because event of document_completed, navigated,... were added everytime call go('') function so it make this issue.

I use this link to solved this issue but don't know it can work.

http://stackoverflow.com/questions/136975/has-an-event-handler-already-been-added

thangdc commented 7 years ago

I fixed it by dispose before open website.