Class ShaftLocator

java.lang.Object
com.shaft.gui.driver.ShaftLocator

public final class ShaftLocator extends Object
Backend-neutral SHAFT locator that resolves to Selenium By or Playwright Locator.
  • Method Details

    • css

      public static ShaftLocator css(String selector)
    • xpath

      public static ShaftLocator xpath(String xpath)
    • text

      public static ShaftLocator text(String text)
    • from

      public static ShaftLocator from(org.openqa.selenium.By locator)
    • strategy

      public ShaftLocator.Strategy strategy()
    • value

      public String value()
    • toBy

      public org.openqa.selenium.By toBy()
    • toPlaywrightLocator

      public com.microsoft.playwright.Locator toPlaywrightLocator(com.microsoft.playwright.Page page)
    • toPlaywrightSelector

      public String toPlaywrightSelector()
    • toString

      public String toString()
      Overrides:
      toString in class Object