Class Press
java.lang.Object
net.serenitybdd.screenplay.playwright.interactions.Press
- All Implemented Interfaces:
SkipNested,Performable
public class Press extends java.lang.Object implements Performable
Press keyboard key(s).
More info: https://playwright.dev/java/docs/api/class-keyboard#keyboardpresskey-options
-
Constructor Summary
Constructors Constructor Description Press(java.lang.String keysSequence) -
Method Summary
Modifier and Type Method Description static Presskeys(java.lang.String... keys)<T extends Actor>
voidperformAs(T actor)PerformablewithOptions(com.microsoft.playwright.Keyboard.PressOptions options)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.serenitybdd.screenplay.Performable
then
-
Constructor Details
-
Press
public Press(java.lang.String keysSequence)
-
-
Method Details
-
keys
-
withOptions
-
performAs
- Specified by:
performAsin interfacePerformable
-