Class PageActiveCheckExtensions


  • @Component("tapirPageActiveCheckExtensions")
    public class PageActiveCheckExtensions
    extends java.lang.Object
    The PageActiveCheckExtensions can be used to check whether a page is currently active or not.
    Since:
    2.0.0
    Author:
    Nils Christian Ehmke <[email protected]>, Oliver Libutzki <[email protected]>
    • Constructor Detail

      • PageActiveCheckExtensions

        public PageActiveCheckExtensions()
    • Method Detail

      • assertPageActive

        public void assertPageActive​(PageActiveCheck pageActiveCheck)
        Asserts that the given page (or the given object of the type PageActiveCheck) is currently active (displayed).
        Parameters:
        pageActiveCheck - The page to check.
        Since:
        3.0.0
      • assertPageNotActive

        public void assertPageNotActive​(PageActiveCheck pageActiveCheck)
        Asserts that the given page (or the given object of the type PageActiveCheck) is currently not active (displayed).
        Parameters:
        pageActiveCheck - The page to check.
        Since:
        3.0.0