java.lang.Object
net.serenitybdd.screenplay.playwright.interactions.Tap
All Implemented Interfaces:
net.serenitybdd.core.SkipNested, net.serenitybdd.screenplay.Performable

public class Tap extends Object implements net.serenitybdd.screenplay.Performable
Perform a tap (touch) action on an element. This is useful for mobile testing or touch-enabled applications.
  • Method Details

    • on

      public static Tap on(String selector)
      Tap on the specified element.
    • performAs

      public <T extends net.serenitybdd.screenplay.Actor> void performAs(T actor)
      Specified by:
      performAs in interface net.serenitybdd.screenplay.Performable