Interface FluentActions<T,​E extends FluentWebElement>

    • Method Detail

      • click

        T click()
        Perform a click.
        Returns:
        this object reference to chain methods calls
        See Also:
        WebElement.click()
      • doubleClick

        T doubleClick()
        Perform a double click.
        Returns:
        this object reference to chain methods calls
      • contextClick

        T contextClick()
        Perform a context click.
        Returns:
        this object reference to chain methods calls
      • waitAndClick

        T waitAndClick()
        Helper method that: a) waits at most 5 seconds for element b) scrolls centrally into it c) clicks on it
        Returns:
        this object reference to chain methods calls
      • waitAndClick

        T waitAndClick​(Duration duration)
        Helper method that: a) waits for element b) scrolls centrally into it c) clicks on it
        Parameters:
        duration - - enabled to override default 5 seconds of waiting
        Returns:
        this object reference to chain methods calls
      • submit

        T submit()
        Perform a form submission.
        Returns:
        this object reference to chain methods calls.
        See Also:
        WebElement.submit()
      • write

        T write​(String... text)
        Write text in the element.
        Parameters:
        text - one or many text to send.
        Returns:
        this object reference to chain methods calls.
        See Also:
        WebElement.sendKeys(CharSequence...)
      • fill

        Fill<E> fill()
        Construct a Fill Builder in order to allow easy fill of visible input fields.
        Returns:
        Fill builder
      • fillSelect

        FillSelect<E> fillSelect()
        Construct a Fill Select Builder in order to allow easy fill of visible input fields.
        Returns:
        Fill select builder
      • frame

        T frame()
        Select a frame using this element.
        Returns:
        this object reference to chain methods calls.