public interface CanReplaceElementValue extends ExecutesMethod, CanRememberExtensionPresence
| Modifier and Type | Method and Description |
|---|---|
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.
|
execute, executeassertExtensionExists, markExtensionAbsencedefault void replaceElementValue(org.openqa.selenium.remote.RemoteWebElement element,
java.lang.String value)
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).