Free tools Windows power users keep installed
One-click scans. No signup required.
Use Playwright’s saved authentication state to open the page as a logged-in user, then call page.pdf() for a paginated PDF. Playwright’s PDF output uses print styling by default. For a screen-styled PDF, emulate screen media first. If you need one tall image of the full page instead, use page.screenshot({ fullPage: true })—that produces an image, not a PDF.
Set up a logged-in browser context
Playwright can save browser authentication state and load it into a later context so your capture script does not have to repeat the login flow. The official guide describes state that can include cookies, local storage, IndexedDB, and passkeys, depending on the authentication model. Standard storage state does not persist session storage; the guide describes a separate approach for applications that rely on it. See Playwright’s authentication guide.
As an Amazon Associate I earn from qualifying purchases.
First, authenticate through the site’s normal login flow and save state only after confirming the account is genuinely logged in. A redirect by itself is not a reliable proof that authentication finished. Keep the state file private: it may contain cookies or headers that can be used to impersonate the account. Store it in a directory excluded by .gitignore, limit access to it, and use an account with only the permissions required for the capture.
import { chromium } from 'playwright';
const browser = await chromium.launch();
const context = await browser.newContext();
const page = await context.newPage();
// Replace with the site's supported login flow.
await page.goto('https://example.com/login');
// Complete login here, then verify an authenticated-only element is visible.
await context.storageState({ path: 'playwright/.auth/account.json' });
await browser.close();
For repeat use, create a context with the saved state. The example below waits for an application-specific heading before exporting; replace the URL and selector with ones appropriate to your page.
#1 Best Overall
- PORTABLE SCANNER FOR USE ON-THE-GO — The fastest and lightest mobile single-sheet-fed compact document scanner in its class¹
- QUICK DOCUMENT SCANNING ― This Epson ultra-fast scanner scans a single page as quickly as 5.5 seconds²; Windows and Mac compatible
- VERSATILE PAPER HANDLING ― Portable scanner scans documents up to 8.5 x 72 in; Also easily digitizes receipts and ID cards to make accounting, bookkeeping, and organizing simpler
- INTUITIVE, HIGH-SPEED SOFTWARE — Epson ScanSmart Software³ is a smart tool allowing you to easily scan, review, and save; Stay organized easily with the help of this Epson scanner
- EASY SETUP — USB-powered connect to your computer for quick and simple scanning; No batteries or external power supply required to operate portable document scanner; Standard Connectivity: USB 2.0
import { chromium } from 'playwright';
const browser = await chromium.launch();
const context = await browser.newContext({
storageState: 'playwright/.auth/account.json',
});
const page = await context.newPage();
await page.goto('https://example.com/account/report', {
waitUntil: 'domcontentloaded',
});
await page.locator('h1').waitFor({ state: 'visible' });
await page.pdf({ path: 'page.pdf' });
await browser.close();
Choose a readiness signal that reflects the content you need: for example, a visible heading, a report table, or an application-specific completion indicator. There is no universal readiness condition for every site. If the page loads data after navigation, wait for that data rather than assuming the initial document event means the export is ready.
Choose between a paginated PDF and a full-page image
| Need | Playwright operation | What it produces |
|---|---|---|
| A document divided across pages | page.pdf() |
A PDF rendered using print CSS by default. |
| A PDF using the site’s screen styling | page.emulateMedia({ media: 'screen' }), then page.pdf() |
A paginated PDF rendered with screen media styling. |
| One continuous capture of the scrollable page | page.screenshot({ fullPage: true }) |
A full-page image, such as PNG—not a PDF. |
| A PDF containing one tall, screen-faithful capture | Capture a full-page image, then use a separate image-to-PDF tool | A PDF made from the image; the conversion is separate from Playwright’s documented PDF API. |
Playwright documents page.pdf() as a print operation, while fullPage belongs to the screenshot API. Do not pass fullPage to page.pdf() expecting a single tall page.
Configure the PDF’s media, paper, and appearance
PDF output is paginated. The defaults and key controls are:
Rank #2
- FAST SPEEDS - Scans color and black and white documents a blazing speed up to 16ppm (1). Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
- ULTRA COMPACT – At less than 1 foot in length and only about 1. 5lbs in weight you can fit this device virtually anywhere (a bag, a purse, even a pocket).
- READY WHENEVER YOU ARE – The DS-640 mobile scanner is powered via an included micro USB 3. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan.
- WORKS YOUR WAY – Use the Brother free iPrint&Scan desktop app for scanning to multiple “Scan-to” destinations like PC, Network, cloud services, Email and OCR. (2) Supports Windows, Mac and Linux and TWAIN/WIA for PC/ICA for Mac/SANE drivers. (3)
- OPTIMIZE IMAGES AND TEXT – Automatic color detection/adjustment, image rotation (PC only), bleed through prevention/background removal, text enhancement, color drop to enhance scans. Software suite includes document management and OCR software. (4)
- Media: print CSS is used by default. Call
page.emulateMedia({ media: 'screen' })beforepage.pdf()when the screen presentation is what you want. - Paper: the default format is Letter. Set
formatfor another paper format, or use PDF options such aswidthandheightwhen those suit the layout. - Backgrounds: background graphics are off by default. Set
printBackground: trueto include them. - Page size from CSS: CSS
@pagesize can take precedence whenpreferCSSPageSizeis enabled. - Page selection: an empty
pageRangessetting means all pages; specify ranges if only particular pages are needed. - Layout controls: use options such as margins, landscape orientation, and scale to adjust the printed document. Check the result because print-specific CSS and pagination can change where content falls.
await page.emulateMedia({ media: 'screen' });
await page.pdf({
path: 'page.pdf',
format: 'A4',
printBackground: true,
landscape: false,
margin: {
top: '12mm',
right: '12mm',
bottom: '12mm',
left: '12mm',
},
});
To retain print styling, omit the emulateMedia call. To capture the entire scrollable page as an image, use the distinct screenshot operation:
await page.screenshot({ path: 'page.png', fullPage: true });
End-to-end example: reuse state and save a PDF
This Node.js example assumes the saved state file already exists and is valid for the target site. Change the URL, selector, paper format, and media choice to match the page and output you need.
import { chromium } from 'playwright';
const browser = await chromium.launch();
const context = await browser.newContext({
storageState: 'playwright/.auth/account.json',
});
const page = await context.newPage();
try {
await page.goto('https://example.com/account/report', {
waitUntil: 'domcontentloaded',
});
// Replace with a reliable, page-specific readiness check.
await page.locator('h1').waitFor({ state: 'visible' });
// Optional: use screen CSS rather than the PDF default, print CSS.
// await page.emulateMedia({ media: 'screen' });
await page.pdf({
path: 'page.pdf',
format: 'A4',
printBackground: true,
margin: { top: '12mm', right: '12mm', bottom: '12mm', left: '12mm' },
});
} finally {
await browser.close();
}
Use printBackground: true only when the page’s background graphics are part of the desired document. If a single long raster capture is the actual requirement, replace the PDF call with await page.screenshot({ path: 'page.png', fullPage: true }) and convert that image separately if a PDF container is required.
Rank #3
- FAST DOCUMENT SCANNING — Document scanner with feeder allows you to speed through stacks with a 50-sheet Auto Document Feeder (ADF); Efficient office scanner to help you scan more productively
- INTUITIVE, HIGH-SPEED SOFTWARE — Quickly scan with this desktop document scanner; Epson ScanSmart Software lets you easily preview scans, email files, upload to the cloud, and more; Plus, automatic file naming saves even more time
- SEAMLESS INTEGRATION — Easily incorporate your data into most document management software with the included TWAIN driver; Office document scanner integrates seamlessly with business workflows
- EASY SHARING — Duplex scanner allows you to scan straight to email or popular cloud storage2 services like Dropbox, Evernote, Google Drive, and OneDrive for simple storage and sharing
- SIMPLE FILE MANAGEMENT — Scanner allows the creation of searchable PDFs with Optical Character Recognition (OCR) and convert scans to editable Word or Excel files effortlessly; Designed for home and office document scanning
Or skip the browser setup
If you want a screenshot or PDF from a URL without writing a Playwright login-and-capture flow, ScreenshotNeo is a website screenshot API and MCP server. Its one-call API example returns a screenshot for the supplied URL; use your API key and adapt the target URL as needed. See the ScreenshotNeo API documentation.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp
ScreenshotNeo removes cookie banners, newsletter popups, and chat widgets before the capture; bot checks, blank pages, failed loads, timeouts, and cache hits are not billed. Its MCP server provides screenshot tools for Claude, Cursor, and other MCP clients. The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 screenshots. These captures are URL-based and do not replace the authenticated browser-state workflow when a page requires your signed-in account.
Sign up for 1,000 free screenshots a month, with no card required.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Troubleshooting
The page opens but shows a login screen
The saved state may be expired, may not include the authentication mechanism the site uses, or may have been saved before login completed. Run the supported login flow again, confirm an authenticated-only element is visible, and save a fresh state. If the application depends on session storage, note that the standard storage-state mechanism does not persist it; use the separate save/load approach described in the authentication guide.
Rank #4
- Scanner type: Document
- Connectivity technology: USB
- With Auto Scan Mode, the scanner automatically detects what you're scanning
- Digitize documents and images
The PDF is missing content loaded after navigation
A navigation event does not guarantee that a client-rendered report, images, or other delayed content is ready. Wait for a specific visible element or application-specific completion signal before calling page.pdf(). Avoid relying on an arbitrary delay when the page offers a clear readiness condition.
The PDF looks different from the browser
That is expected when the page has print-specific styles: page.pdf() uses print CSS by default. Call page.emulateMedia({ media: 'screen' }) before generating the PDF if screen styling is preferred. The document remains paginated, so its page breaks can still differ from the continuous browser view.
Colors or background graphics are absent
PDF background graphics are disabled by default. Set printBackground: true if those graphics should appear, and check whether the page’s print styles intentionally alter colors.
Best Value
- OUR MOST ADVANCED SCANSNAP. Large touchscreen, fast 45ppm double-sided scanning, 100-sheet document feeder, Wi-Fi and USB connectivity, automatic optimizations, and support for cloud services. Upgraded replacement for the discontinued iX1600
- CUSTOMIZABLE. SHARABLE. Select personalized profiles from the touchscreen. Send to PC, Mac, mobile devices, and clouds. QUICK MENU lets you quickly scan-drag-drop to your favorite computer apps
- STABLE WIRELESS OR USB CONNECTION. Built-in Wi-Fi 6 for the fastest and most secure scanning. Connect to smart devices or cloud services without a computer. USB-C connection also available
- PHOTO AND DOCUMENT ORGANIZATION MADE EFFORTLESS. Easily manage, edit, and use scanned data from documents, receipts, photos, and business cards. Automatically optimize, name, and sort files
- AVOIDS PAPER JAMS AND DAMAGE. Features a brake roller system to feed paper smoothly, a multi-feed sensor that detects pages stuck together, and skew detection to prevent paper damage and data loss
The capture is split across pages instead of being one tall page
page.pdf() creates a paginated document, not a full-page screenshot. Use page.screenshot({ fullPage: true }) for a single tall image, then convert that image with a separate tool if a PDF file is required.
The PDF uses unexpected paper dimensions or content is clipped
PDF output defaults to Letter. Set the desired format, review margins and scale, and check for CSS @page sizing. When preferCSSPageSize is enabled, CSS page sizing can take precedence over the configured format.
The saved state is exposed or committed to source control
Treat authentication state as a credential because it may contain usable cookies or headers. Remove it from any public or shared repository, restrict file access, and add the authentication-state directory to .gitignore. If it may have been exposed, revoke or rotate the account’s sessions or credentials using the site’s available security controls.
Reliability and cost considerations
For repeatable exports, use a least-privilege account, save state only after verifying login, select a page-specific readiness condition, and keep the state file out of source control. PDF layout depends on the site’s print CSS, paper settings, and content length; inspect a representative output after changing those inputs. The documentation cited here does not establish a universal runtime, reliability rate, or cost for a particular capture workload, so those depend on the application and the environment running Playwright.
Frequently Asked Questions
Does Playwright’s PDF API offer a `fullPage` option?
No. `fullPage` is an option for `page.screenshot()`; `page.pdf()` creates a paginated PDF.
Can a saved Playwright state file include session storage?
Not through the standard storage-state mechanism. Playwright’s authentication guide describes a separate save/load approach for applications that rely on session storage.
Recommended Free Tools
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

