auto_getFluentWait

public Wait<EventFiringWebDriver> auto_getFluentWait() {
    if (fluentWait.get() == null) {
        fluentWait.set((new FluentWait(getDriver())).withTimeout(Duration.ofSeconds(EXPLICIT_TIMEOUT)).pollingEvery(Duration.ofMillis(WAIT_FRECUENCY)).ignoring(NoSuchElementException.class));
    }

    return (Wait)fluentWait.get();
}
What are your feelings
Scroll al inicio