For locator strategy support specific to angular refer attached java file.
You can have method like below to implement wait for angular calls which uses NgwebDriver
public static void waitForAngular() {
NgWebDriver ngDriver = new NgWebDriver(new WebDriverTestBase().getDriver());
ngDriver.waitForAngularRequestsToFinish();
}
You can call this method in driver listener afterCommand if command is get or element listener after command where command is click. If you are using test page you can override waitforpage to load method and call above method in that.
सोमवार, 8 अक्टूबर 2018 को 11:44:22 पूर्व UTC-7 को, VIJAYARAGAVAN K ने लिखा: