Class BlockUI

  • All Implemented Interfaces:
    org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsElement

    public abstract class BlockUI
    extends AbstractComponent
    Component wrapper for the PrimeFaces p:blockUI.
    • Constructor Detail

      • BlockUI

        public BlockUI()
    • Method Detail

      • getOverlays

        public List<org.openqa.selenium.WebElement> getOverlays()
        Finds all Block UI overlay elements by class name.
        Returns:
        a List containing at least one element
      • getContents

        public List<org.openqa.selenium.WebElement> getContents()
        Finds all Block UI content elements by class name.
        Returns:
        a List containing at least one element
      • isBlocking

        public boolean isBlocking()
        Is the blocker currently blocking.
        Returns:
        true if blocking false if not
      • hasContent

        public boolean hasContent()
        Does the block have content.
        Returns:
        true if has content, false if not
      • show

        public void show()
        Shows the blocker.
      • hide

        public void hide()
        Hides the blocker.