Class DatePickerPw

java.lang.Object
in.virit.mopo.DatePickerPw

public class DatePickerPw extends Object
A helper class to work with vaadin-date-picker component.
  • Constructor Details

    • DatePickerPw

      public DatePickerPw(com.microsoft.playwright.Locator gridLocator)
      Creates a DatePicker page object for the given locator.
      Parameters:
      gridLocator - the Playwright locator for the vaadin-date-picker to be interacted with
  • Method Details

    • getValue

      public LocalDate getValue()
      Returns the value from the client side and parses it as LocalDate.
      Returns:
      the current value of the field
    • setValue

      public void setValue(LocalDate value)
      Sets the value of the field.
      Parameters:
      value - the value to be set
    • getInputString

      public String getInputString()
      Returns the raw string value in the field.
      Returns:
      the string value as it is formatted in the field. Note, this may be locale dependent.