Running different function between each Frame in webbrowser

I'm developing a web crawler that goes to a website and grabs some information that's inside a Frame, however since the URL of the webpage doesn't change, I can't use webbrowserdocumentcomplete and run different functions between each Frame. Current I'm using

await Task.Delay(1000); 

then I would call another function that would run in Frame 2.

I was wonder if there's a way I can detect Frame change?

by IbeatDatPussyUp via /r/csharp

Leave a Reply