Class PlaywrightSessionManager

java.lang.Object
com.shaft.gui.playwright.internal.PlaywrightSessionManager

public final class PlaywrightSessionManager extends Object
Thread-local access to the active Playwright session.
  • Method Details

    • hasSession

      public static boolean hasSession()
    • currentSession

      public static PlaywrightSession currentSession()
    • currentPlaywright

      public static com.microsoft.playwright.Playwright currentPlaywright()
    • currentBrowser

      public static com.microsoft.playwright.Browser currentBrowser()
    • currentBrowserContext

      public static com.microsoft.playwright.BrowserContext currentBrowserContext()
    • currentPage

      public static com.microsoft.playwright.Page currentPage()
    • clearSession

      public static void clearSession()