Package io.appium.java_client.android
Interface CanReplaceElementValue
-
- All Superinterfaces:
CanRememberExtensionPresence
,ExecutesMethod
- All Known Implementing Classes:
AndroidDriver
public interface CanReplaceElementValue extends ExecutesMethod, CanRememberExtensionPresence
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method 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.-
Methods inherited from interface io.appium.java_client.CanRememberExtensionPresence
assertExtensionExists, markExtensionAbsence
-
Methods inherited from interface io.appium.java_client.ExecutesMethod
execute, execute
-
-
-
-
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).
-
-