All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.paulhammant.ngwebdriver.WaitForAngularRequestsToFinish Maven / Gradle / Ivy

There is a newer version: 1.2
Show newest version
package com.paulhammant.ngwebdriver;

import org.openqa.selenium.JavascriptExecutor;

public class WaitForAngularRequestsToFinish extends AngularJavaScriptFunctions{

    public static void waitForAngularRequestsToFinish(JavascriptExecutor driver) {
        driver.executeAsyncScript("var callback = arguments[arguments.length - 1];\n" +
                "var rootSelector = 'body';\n" +
                "\n" +
                ByAngular.functions.get("waitForAngular"));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy