
com.github.invictum.panels.strategy.JqueryWaitStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of invictum-test-core Show documentation
Show all versions of invictum-test-core Show documentation
Used as a base for automation. Based on Serenity BDD project.
The newest version!
package com.github.invictum.panels.strategy;
import com.github.invictum.pages.AbstractPage;
import com.github.invictum.tricks.Wait;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class JqueryWaitStrategy implements PanelInitStrategy {
public static final Logger LOG = LoggerFactory.getLogger(JqueryWaitStrategy.class);
@Override
public void apply(AbstractPage context) {
LOG.debug("Invoked {} wait strategy", this);
context.getTrick(Wait.class).waitForJquery();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy