Class EnterValue

java.lang.Object
net.serenitybdd.screenplay.actions.EnterValue
All Implemented Interfaces:
SkipNested, Performable
Direct Known Subclasses:
EnterValueIntoBy, EnterValueIntoElement, EnterValueIntoTarget, SendKeysIntoBy, SendKeysIntoTarget, SendKeystoElement

public abstract class EnterValue
extends java.lang.Object
implements Performable
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.util.List<org.openqa.selenium.Keys> followedByKeys  
    protected java.lang.CharSequence[] theText  
    protected java.lang.String theTextAsAString  
  • Constructor Summary

    Constructors
    Constructor Description
    EnterValue​(java.lang.CharSequence... theText)  
  • Method Summary

    Modifier and Type Method Description
    org.openqa.selenium.Keys[] getFollowedByKeys()  
    protected java.util.Optional<java.lang.CharSequence[]> textValue()  
    EnterValue thenHit​(org.openqa.selenium.Keys... keys)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.serenitybdd.screenplay.Performable

    performAs, then
  • Field Details

    • theText

      protected final java.lang.CharSequence[] theText
    • followedByKeys

      protected final java.util.List<org.openqa.selenium.Keys> followedByKeys
    • theTextAsAString

      protected java.lang.String theTextAsAString
  • Constructor Details

    • EnterValue

      public EnterValue​(java.lang.CharSequence... theText)
  • Method Details

    • thenHit

      public EnterValue thenHit​(org.openqa.selenium.Keys... keys)
    • getFollowedByKeys

      public org.openqa.selenium.Keys[] getFollowedByKeys()
    • textValue

      protected java.util.Optional<java.lang.CharSequence[]> textValue()