Class ClickBase

java.lang.Object
jp.co.moneyforward.autotest.actions.web.ClickBase
All Implemented Interfaces:
Act<com.microsoft.playwright.Page, com.microsoft.playwright.Page>
Direct Known Subclasses:
Click, ClickIfPresent

public abstract class ClickBase extends Object implements Act<com.microsoft.playwright.Page, com.microsoft.playwright.Page>
An abstract base class for clicking acts.
  • Constructor Details

    • ClickBase

      protected ClickBase(Function<com.microsoft.playwright.Page, com.microsoft.playwright.Locator> locatorFunction)
      Creates an object of this class.
      Parameters:
      locatorFunction - A function to locate an element to click.
  • Method Details

    • name

      public String name()
      Returns a name of this object. The returned name is printed in action trees.
      Specified by:
      name in interface Act<com.microsoft.playwright.Page, com.microsoft.playwright.Page>
      Returns:
      A name of this object.