TabSailTabSail

Screenshots & PDF

Capture browser output through your automation client.

These snippets assume a connected Playwright page. Returned files are saved on the machine running your application.

await page.screenshot({ path: "page.png", fullPage: true });
await page.pdf({ path: "page.pdf", format: "A4", printBackground: true });

These are Playwright options, not TabSail session-creation parameters.

OptionDescription
pathOutput on your application's filesystem
fullPage / full_pageCapture the scrollable page
formatPDF paper format
printBackground / print_backgroundInclude PDF background graphics

Wait for the content you need before capture. See the complete capture example.