Forum Discussion
JuliaBernikova
Alumni
10 years agoHi Jamie,
You can use the IWebPage.Wait method. Here is a simple example:
IWebPage page = Driver.Find<IWebBrowser>(new WebBrowserPattern()
{
ObjectIdentifier = "chrome"
}).Find<IWebPage>(new WebPagePattern()
{
URL = "https://community.smartbear.com/t5/TestLeft/How-do-you-wait-for-a-page-to-load-in" +
"-TestLeft/m-p/119673",
ObjectGroupIndex = 0
});
/*...*/
page.Wait(1000);