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.

BrowserDsl.browserSessionFunction((page, browserSession) -> {
    Session session = browserSession.getGatlingSession().set("pageTitle", page.title());
    return browserSession.updateBrowserSession(session);
});

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