public void verifySeleniumTitle()
{
WebUI.openBrowser('https://www.google.com')
driver = DriverFactory.getWebDriver();
driver.manage().window().maximize();
driver.get("https://www.google.com");
// Specify implicit wait of 30 seconds
driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
// No text is present on Webpage.
driver.findElement(By.xpath("//*[text()=\"Hello World\"]"));
}
}
Crating a new custom keyword for my test case in katalon studio, and I am creating implicit wait, the code above enables me to receive a NoSuchElement Exception Message but I do not know if the time stated in implicit wait is totally working. Can someone help me figure this out? Thank you very much!