Interface CanReplaceElementValue

    • Method Detail

      • replaceElementValue

        default void replaceElementValue​(org.openqa.selenium.remote.RemoteWebElement element,
                                         java.lang.String value)
        Sends a text to the given element by replacing its previous content.
        Parameters:
        element - The destination element.
        value - The text to enter. It could also contain Unicode characters. If the text ends with `\\n` (the backslash must be escaped, so the char is NOT translated into `0x0A`) then the Enter key press is going to be emulated after it is entered (the `\\n` substring itself will be cut off from the typed text).