I'm opening a URL in a web browser using the following code:
Process p = new Process();
p.StartInfo.FileName = GetDefaultBrowserPath(); //gets path to default browser from the registry
p.StartInfo.Arguments = "htp://www.google.com";
p.Start();
Can someone tell me how I would wait for IE to be loaded? Is this the correct way to go about this?
Thanks, Jimmy
This might be what you're looking for
Just do this:
It'll open it in the default browser.