Class AbstractInputComponent

    • Constructor Detail

      • AbstractInputComponent

        public AbstractInputComponent()
    • Method Detail

      • getInput

        public org.openqa.selenium.WebElement getInput()
        The input element reference.
        Returns:
        the WebElement representing the input.
      • isEnabled

        public boolean isEnabled()
        Is this SelectOneMenu enabled?
        Returns:
        true if enabled, false if not
      • isOnchangeAjaxified

        public boolean isOnchangeAjaxified()
        Is the input using AJAX "change" or "valueChange" event?
        Returns:
        true if using AJAX for onchange, change or valueChange
      • getAssignedLabel

        public org.openqa.selenium.WebElement getAssignedLabel()
        The HTML label assigned to this input.
        Returns:
        the WebElement representing the label.
      • getAssignedLabelText

        public String getAssignedLabelText()
        The HTML label text assigned to this input.
        Returns:
        the value of the label text
      • copyToClipboard

        public String copyToClipboard()
        Copy the current value in the Input to the clipboard.
        Returns:
        the value copied to the clipboard
      • pasteFromClipboard

        public String pasteFromClipboard()
        Paste the current value of the clipboard to the Input.
        Returns:
        the value pasted into the input
      • selectAllText

        public void selectAllText()
        Selects all text in the input component.
      • clear

        public void clear()
        Clears the input and guards AJAX for "clear" event.
      • enable

        public void enable()
        Enables the input/
      • disable

        public void disable()
        Disables the input.