Interface PageValidator<T extends WebPage,B extends Endpoint>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface PageValidator<T extends WebPage,B extends Endpoint>
Since:
2.7
  • Method Details

    • validate

      void validate(T webPage, B browser, TestContext context)
      Validate page contents.
    • adaptAndValidate

      default void adaptAndValidate(WebPage webPage, Endpoint endpoint, TestContext context)