Class RangeInputElement

java.lang.Object
com.vaadin.testbench.TestBenchElement
com.vaadin.flow.component.html.testbench.RangeInputElement
All Implemented Interfaces:
CanCompareScreenshots, HasCallFunction, HasDriver, HasElementQuery, HasPropertySettersGetters, HasSearchContext, HasTestBenchCommandExecutor, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsElement

public class RangeInputElement extends TestBenchElement
A TestBench element representing an <input type='range'> element.
Since:
1.0
  • Constructor Details

    • RangeInputElement

      public RangeInputElement()
  • Method Details

    • setValue

      public void setValue(Double value)
      Sets the value of the text input to the given value, clearing out any old value of the input.
      Parameters:
      value - the value to set
    • clear

      public void clear()
      Clears the input field.
      Specified by:
      clear in interface org.openqa.selenium.WebElement
      Overrides:
      clear in class TestBenchElement
    • getValue

      public Double getValue()