gatling-playwright-plugin

Browser Session Function

Allows manipulation of a page without tracking it in reports.

Note: Typically used to extract data and store it in Gatling sessions.

browserSessionFunction((page, browserSession) => {
      val session = browserSession.getGatlingSession.set("pageTitle",page.title())
      browserSession.updateBrowserSession(session)
});

← API overview · BrowserSession · Open Action · Flow Action · Clean Context