Class Focus
java.lang.Object
net.serenitybdd.screenplay.playwright.interactions.Focus
Focus on an element or blur (unfocus) the currently focused element.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.serenitybdd.screenplay.Performableblur()Remove focus from the currently focused element.static net.serenitybdd.screenplay.PerformableblurElement(String selector) Remove focus from a specific element.static net.serenitybdd.screenplay.PerformableFocus on the specified element.
-
Constructor Details
-
Focus
public Focus()
-
-
Method Details
-
on
Focus on the specified element. -
blur
public static net.serenitybdd.screenplay.Performable blur()Remove focus from the currently focused element. -
blurElement
Remove focus from a specific element.
-