Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Use Playwright to sign in through the website’s normal authentication flow, save the resulting browser state securely, and load it in a recurring browser job. Before saving each screenshot, verify that the run is still authenticated and that the intended page content has loaded. A saved login state can expire, and sites that rely on session storage, MFA, or custom SSO may need extra handling.

How the scheduled screenshot workflow works

A reliable job separates authentication, capture, and scheduling. You authenticate with an approved account, reuse browser state where the site permits it, confirm the protected page is actually available, and save the image to a destination with appropriate access controls.

  1. Confirm authorization. Use an account and access method approved by the site. Screenshot automation should not bypass access controls.
  2. Authenticate once. Complete the normal login flow in Playwright, either by automating the form or completing an approved interactive setup. Wait for a stable signed-in page before saving browser state.
  3. Protect the saved state. Treat it like a password: it can contain cookies or headers that allow account impersonation. Exclude it from version control and restrict access to the file and any runner that reads it. See Playwright’s authentication guidance.
  4. Schedule a browser run. Use cron, a CI workflow, or another scheduler to launch the script at the desired cadence. The GitHub Marketplace screenshot-action example demonstrates a cron-triggered workflow and an output directory; its behavior is an implementation example, not a guarantee about all runners or schedules.
  5. Verify, then capture. Navigate to the protected route using the saved state. Check a stable, site-specific indicator of authentication and expected content. If redirected to login, fail the job and refresh authentication through the site’s intended process rather than saving the login screen as the result.
  6. Choose what to capture. Playwright supports viewport, full-page, and element screenshots; its screenshot documentation describes saving images to files or returning image bytes.
  7. Decide where output goes. Private pages may include personal or customer information. Set retention and access deliberately, and do not publish artifacts or commit screenshots to a public repository unless that is authorized.

Reuse login state safely

Playwright’s storage-state mechanism can preserve authentication data in cookies, local storage, and IndexedDB, depending on the application and configuration. It does not automatically preserve session storage: session storage is domain-specific and does not persist across page loads, so applications that depend on it require separate save-and-load handling. The site’s authentication design determines which state is sufficient. See the authentication documentation and the project source documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Playwright warns that “The browser state file may contain sensitive cookies and headers that could be used to impersonate you or your test account.” A practical safeguard is to store state in a directory such as playwright/.auth, add that directory to .gitignore, and keep it out of logs and broadly accessible CI artifacts. Limit runner and secret access, and refresh or rotate authentication as the site requires.

#1 Best Overall
Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB
  • CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
  • WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
  • A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents

Sessions can expire or be revoked. MFA and SSO behavior is site-specific; an example community batch-screenshot project says its own saved state must be refreshed manually after expiry and its login flow does not support 2FA. Those are limitations of that example, not universal Playwright constraints. See the example project.

Choose the capture scope

  • Viewport: captures what is visible in the browser window; useful for a compact recurring status image.
  • Full page: captures the scrollable page, including content below the initial viewport. Pages that load images or other content lazily may need scrolling or readiness handling before capture.
  • Element: captures a selected component, such as a chart or account summary, rather than the entire page.

For client-rendered charts or asynchronous content, wait for a meaningful selector or other page-specific readiness condition. A fixed delay can help only when you have a reason to use it; it is not proof that data is correct. Playwright’s page assertions can wait for successive screenshots to stabilize in visual comparisons, but that alone does not establish that all page data is accurate.

Rank #2
Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB
  • CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
  • SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors

Where to run the recurring job

Execution option Useful when Considerations
Existing computer or server You want control over credentials, browser setup, files, and retention. Keep the machine available, patch the runtime, protect the state file, and monitor scheduled runs.
CI runner You already use automated workflows and want a scheduler to invoke the script. Configure secrets and artifacts carefully; ensure private screenshots and authentication state are not exposed.
Managed browser service You prefer not to maintain the browser execution environment yourself. Review its credential handling, data retention, access controls, and costs before using it with protected pages.

The schedule controls how often a run starts; it does not guarantee that the page will be ready, the session valid, or the runner available at an exact minute. Set the cadence according to how often the page changes and how much output you intend to retain.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Or skip the browser setup

ScreenshotNeo is a website screenshot API and MCP server. One GET request can return an image or PDF, but an API key does not grant access to a site behind a login: use it only where the target page is publicly accessible or where the required authorized access method is supported. It is not a replacement for the authenticated Playwright workflow above when a page requires an interactive logged-in browser session.

Rank #3
Sale
Dell 24 Monitor - SE2426H - 23.8-inch FHD (1920x1080) 144Hz 1ms Display, in-Plane Switching (IPS) Technology, AMD FreeSync™, TÜV 3-Star 2X HDMI, Tilt
  • Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
  • Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
  • Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
  • In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
  • Ultra-thin bezels: Maximize your viewing experience with thin bezels.

For a page the API can access, this cURL request captures a screenshot. See the ScreenshotNeo documentation for request options.

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

Rank #4
Sale
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor
  • CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
  • SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
  • MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
  • KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
  • INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient

ScreenshotNeo accepts consent banners before capture and removes 60+ known consent platforms, newsletter popups, and chat widgets; each of those steps can be turned off. Bot checks/CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers report the page verdict and billing status. Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients. The Free plan includes 1,000 shots a month with no card; paid plans start at $5 for 3,000 shots.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Sign up for ScreenshotNeo’s free plan for 1,000 screenshots a month with no card.

Troubleshooting scheduled captures

  • The screenshot shows a login screen: Authentication likely expired, was revoked, or was not restored correctly. Detect the login redirect or missing authenticated-page marker, fail the run, and renew state through the normal login process.
  • The site appears signed in manually but not in the job: The saved state may omit the authentication mechanism the site uses. Check whether it depends on session storage, MFA, SSO, or another site-specific flow; implement the approved handling rather than assuming cookie state is enough.
  • The capture is blank or incomplete: Confirm navigation completed and the expected content appeared. Add a selector-based readiness check for client-rendered or asynchronous components; use a short wait only when appropriate.
  • A scheduled run does not produce a file: Check that the scheduler invoked the intended script, the runner has its browser dependencies and access to the state file, and the output path is writable. Keep logs useful without printing credentials or browser state.
  • The output exposes private data: Restrict artifact and storage permissions, shorten retention, and remove public or unintended copies. Treat both the saved state and screenshots as potentially sensitive.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Reliability, privacy, and cost considerations

There is no established general reliability or performance percentage for scheduled authenticated screenshots in the cited sources. Reliability depends on the site’s login design, session lifetime, page readiness, runner availability, and output storage. Make the job’s success criteria explicit: navigation completed, authentication remained valid, the expected page marker appeared, and the screenshot was written to the intended private destination.

Best Value
Sale
Sceptre New 22-Inch Gaming Monitor, FHD 1080p, Up to 144Hz, HDMI, DisplayPort, Built-in Speakers, Machine Black (E225W-FW144 Series, 2026)
  • 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
  • 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
  • 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.

Capture cost and operational effort depend on the chosen runner or managed service; the cited examples do not establish a general price comparison. Account for screenshot volume, storage retention, and the work of renewing sessions. Avoid treating a successful image-file write as proof that the underlying page data is current or correct.

Frequently Asked Questions

Can I schedule screenshots of a page that requires MFA?

Sometimes, but it depends on the site’s approved authentication flow and whether it can maintain a reusable session. MFA support is not a universal Playwright limitation; validate the specific site’s requirements.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Does a saved Playwright storage state preserve session storage automatically?

No. Session storage needs separate handling because the standard storage-state mechanism does not automatically persist it.

Can ScreenshotNeo replace a logged-in browser session?

Not necessarily. An API key is not authorization for a protected page; use the browser-based workflow for pages that require an authenticated interactive session.

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.