Class Enter
java.lang.Object
net.serenitybdd.screenplay.actions.Enter
public class Enter
extends java.lang.Object
Enter a value into a field, first waiting until the field is enabled, and then clearing the field of any current values,
before entering the specified value.
To perform the equivalent of Selenium `sendKeys()`, you can use `Enter.keyValue()` instead of `Enter.theValue()`
-
Constructor Summary
Constructors Constructor Description Enter(java.lang.CharSequence... theText) -
Method Summary
Modifier and Type Method Description EnterValueinto(java.lang.String cssOrXpathForElement)EnterValueinto(WebElementFacade element)EnterValueinto(Target target)EnterValueinto(org.openqa.selenium.By... locators)static SendKeyskeyValues(java.lang.CharSequence... text)static EntertheValue(java.lang.CharSequence... text)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Enter
public Enter(java.lang.CharSequence... theText)
-
-
Method Details
-
theValue
-
keyValues
-
into
-
into
-
into
-
into
-