In Selenium for Java I can call RemoteWebDriver.getSessionId()
to get the GUID associated with my browser session.
How can I get the session ID in Playwright?
I've looked at the members of any seemingly relevant object (Browser
, Page
, Context
, etc.) and I've searched, and I can't find anything.
Maybe there isn't a session ID, but I feel like there must be because our browser host for automation associates Playwright browser sessions with a GUID just like it does for Selenium browser sessions.