Class FluentDropdown

java.lang.Object
net.serenitybdd.core.pages.FluentDropdown
All Implemented Interfaces:
org.openqa.selenium.support.ui.ISelect
Direct Known Subclasses:
FluentDropdownDeselect, FluentDropdownSelect

public class FluentDropdown extends Object implements org.openqa.selenium.support.ui.ISelect
  • Constructor Details

  • Method Details

    • select

      protected org.openqa.selenium.support.ui.Select select()
    • isMultiple

      public boolean isMultiple()
      Specified by:
      isMultiple in interface org.openqa.selenium.support.ui.ISelect
    • getOptions

      public List<org.openqa.selenium.WebElement> getOptions()
      Specified by:
      getOptions in interface org.openqa.selenium.support.ui.ISelect
    • getAllSelectedOptions

      public List<org.openqa.selenium.WebElement> getAllSelectedOptions()
      Specified by:
      getAllSelectedOptions in interface org.openqa.selenium.support.ui.ISelect
    • getFirstSelectedOption

      public org.openqa.selenium.WebElement getFirstSelectedOption()
      Specified by:
      getFirstSelectedOption in interface org.openqa.selenium.support.ui.ISelect
    • selectByVisibleText

      public void selectByVisibleText(String text)
      Specified by:
      selectByVisibleText in interface org.openqa.selenium.support.ui.ISelect
    • byVisibleText

      public void byVisibleText(String text)
    • selectByIndex

      public void selectByIndex(int index)
      Specified by:
      selectByIndex in interface org.openqa.selenium.support.ui.ISelect
    • byIndex

      public void byIndex(int index)
    • selectByValue

      public void selectByValue(String value)
      Specified by:
      selectByValue in interface org.openqa.selenium.support.ui.ISelect
    • byValue

      public void byValue(String value)
    • deselectAll

      public void deselectAll()
      Specified by:
      deselectAll in interface org.openqa.selenium.support.ui.ISelect
    • deselectByValue

      public void deselectByValue(String value)
      Specified by:
      deselectByValue in interface org.openqa.selenium.support.ui.ISelect
    • deselectByIndex

      public void deselectByIndex(int index)
      Specified by:
      deselectByIndex in interface org.openqa.selenium.support.ui.ISelect
    • deselectByVisibleText

      public void deselectByVisibleText(String text)
      Specified by:
      deselectByVisibleText in interface org.openqa.selenium.support.ui.ISelect