Class Chips

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

public abstract class Chips extends AbstractInputComponent
Component wrapper for the PrimeFaces p:chips.
  • Constructor Details

    • Chips

      public Chips()
  • Method Details

    • getInput

      public org.openqa.selenium.WebElement getInput()
      Description copied from class: AbstractInputComponent
      The input element reference.
      Overrides:
      getInput in class AbstractInputComponent
      Returns:
      the WebElement representing the input.
    • getValues

      public List<String> getValues()
    • getChipTokens

      public List<org.openqa.selenium.WebElement> getChipTokens()
    • addValue

      public void addValue(String value)
    • removeValue

      public void removeValue(String value)
    • toggleEditor

      public void toggleEditor()
      Converts the current list into a separator delimited list for mass editing while keeping original order of the items or closes the editor turning the values back into chips.