WaitElementNotDomAsync
Description: the method temporarily stops the test execution for the specified number of seconds and waits for the requested element to cease to be present in the DOM
Syntax:
WaitElementNotDomAsync(string by, string locator, int sec)
WaitElementNotDomAsync(Locator locator, int sec)
Return value: no return value
Example:
await tester.WaitElementNotDomAsync(Tester.BY_XPATH, "//div[@id='element']", 5);
await tester.WaitElementNotDomAsync(Tester.BY_CSS, "#element", 5);
await tester.WaitElementNotDomAsync(tester.GetLocator("locatorName"), 5);
Created with the Personal Edition of HelpNDoc: Easy CHM and documentation editor