jp.co.moneyforward.autotest.actions.web.Navigate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of insdog-all Show documentation
Show all versions of insdog-all Show documentation
An action-based testing framework and library
The newest version!
package jp.co.moneyforward.autotest.actions.web;
import com.microsoft.playwright.Page;
import jp.co.moneyforward.autotest.framework.action.Act;
import jp.co.moneyforward.autotest.framework.core.ExecutionEnvironment;
import static com.github.valid8j.classic.Requires.requireNonNull;
public class Navigate implements Act {
private final String url;
public Navigate(String url) {
this.url = requireNonNull(url);
}
@Override
public Page perform(Page page, ExecutionEnvironment executionEnvironment) {
page.navigate(this.url);
return page;
}
@Override
public String name() {
return this.getClass().getSimpleName() + "[" + this.url + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy