The right way to record a browser automation session depends on the artifact you need. Use Playwright video for visual playback, a Playwright trace for step-by-step debugging, or Selenium IDE when you want recorded interactions that can be edited and replayed as test commands. These outputs are related, but they are not interchangeable.
Choose the recording artifact first
| Artifact | Best for | How you inspect it | Capture considerations |
|---|---|---|---|
| Playwright video | Showing what the browser visibly did | Any video player | Video is off by default; files are finalized when the browser context closes |
| Playwright trace | Diagnosing failed or flaky tests | Playwright Trace Viewer | Includes actions, locators, timings, DOM snapshots and logs; tracing every test is performance-heavy |
| Selenium IDE recording | Creating and editing replayable browser commands | Selenium IDE playback and editor | Records user interactions in a browser extension |
If a manager needs a visual walkthrough, record video. If a test failed and you need to know which locator, network state or DOM snapshot caused it, record a trace. If you are starting from manual browser actions and want a test you can edit, use Selenium IDE.
Record a Playwright video with Playwright Test
Playwright Test exposes a video option in its test configuration. Its documented modes are off, on, retain-on-failure and on-first-retry; the default is off. A practical CI configuration keeps artifacts for failures without storing a video for every successful run.
Install and configure
- Install Playwright and its browsers in your project.
- Create or edit
playwright.config.ts. - Set the video policy under
use. - Run the test; the video is written into the test-results directory after the context closes.
import { defineConfig } from '@playwright/test';
export default defineConfig({
use: {
video: 'retain-on-failure'
}
});
Use video: 'on' when every run must have visual evidence. Use 'on-first-retry' when you want a recording only when Playwright retries a failed test. Keep 'off' for the lowest capture overhead.
Recommended Free Tools
#1 Best Overall
- 📷【See Yourself in Real Time, Perfectly Framed】Stop guessing your pose. Watch your vlog selfie monitor screen as you film, adjust instantly, and always stay in frame—perfectfor TikTok videos, IG Lives, vlogs, cooking tutorials, makeup videos, and more.
- 📱【Stunning 4K 60fps IPS Screen】Film with confidence on a vivid IPS screen that mirrors your back camera in Ultra-HD 4K at 60fps. With 178° wide viewing angles, every detail, expression, and angle looks crisp. For the smoothest 4K preview, use the Blackmagic Camera App.
- ⏳【Real-Time 0.05s Latency, No More Blind Filming】Say goodbye to guesswork. This magnetic selfie screen shows your back camera with under 0.05s ultra-low latency, so your preview keeps up with every move. Perfect for fast-paced vlogging, dancing, cooking, and live streaming.
- 👍【Broad & Latest Compatibility】This Rollei M4 phone monitor screen is compatible with most iPhone (including iPhone 18 Pro &iPhone 18 Pro Max & iPhone 17 Series ) and Android devices. Please Note: This device is NOT compatible with iphone Duo & Google Pixel series phones. A free magnetic sheet ensures a firm fit for MagSafe and non-MagSafe cases.
- 🔊【Built-In Speaker for Instant Audio Check】This iphone monitor has a built-in high-fidelity speaker, so you can replay clips with sound right away—no need to wait until editing. Adjust brightness and switch aspect ratios on-screen to frame confidently in any light, indoors or out.
Complete example test
import { test, expect } from '@playwright/test';
test('checkout confirmation is visible', async ({ page }) => {
await page.goto('https://example.com/checkout');
await page.getByRole('button', { name: 'Place order' }).click();
await expect(page.getByText('Order confirmed')).toBeVisible();
});
After the run, open the generated test-results folder and play the attached video. The exact folder name includes the test and retry information, so retain that directory when uploading CI artifacts.
Recording a manually created browser context
If you do not use the Playwright Test runner, the Browser API supports recordVideo on a browser context. Supply an output directory and, optionally, a video size. The important detail is finalization: video is saved when the context closes, so await context.close() before your process exits.
import { chromium } from 'playwright';
const browser = await chromium.launch();
const context = await browser.newContext({
recordVideo: {
dir: 'videos/',
size: { width: 1280, height: 720 }
}
});
const page = await context.newPage();
await page.goto('https://example.com');
await page.screenshot({ path: 'checkpoint.png' });
await context.close(); // finalizes the video
await browser.close();
See the Playwright videos documentation and Browser API reference for the current option details.
Record a Playwright trace for diagnosis
A trace is more informative than a video when a test fails. Trace Viewer can show the action sequence, locator used, duration, before-and-after state, action log, source location and DOM snapshots. When screenshots are enabled, the timeline also includes screencast frames.
Capture traces with the test runner
For a one-off diagnostic run, start tracing from the command line:
Rank #2
- 【Vlog Selfie Monitor Screen for iPhone & Android】Use your phone’s rear camera for selfies, vlogs, tutorials, TikTok, YouTube, and live streaming while viewing yourself on the wireless monitor screen. Compatible with most iPhone and Android phones that support screen mirroring. 【Not compatible with iPhone 17 series or Google Pixel devices】
- 【Wireless Back Camera Monitor, No App Needed for Preview】Connect through your phone’s built-in Screen Mirroring or Cast function. No extra app or cable is required for regular preview. The monitor mirrors your phone display, helping you use the rear camera for clearer selfie videos, product demos, makeup videos, fitness clips, and live streams
- 【Important iPhone 4K Recording Note】For smoother iPhone wireless mirroring, 1080p recording is recommended when using the native iPhone camera app. If you need 4K video recording while mirroring, use a third-party camera app such as Blackmagic Camera. 4K lag during native iPhone mirroring is related to iOS/native camera limitations, not a defect of the monitor
- 【Visual Preview Screen Only, No Built-In Speaker】This selfie monitor screen is designed for visual framing and rear camera preview only. It does not have a built-in speaker and cannot play audio while recording. Audio recording and playback depend on your phone, camera app, microphone, or other connected audio devices
- 【Bluetooth Remote, Magnetic Mount & Portable Design】The included Bluetooth remote lets you take photos or start/stop video from up to 33 ft away in supported camera apps. The magnetic mount attaches directly to bare iPhone 12–16 models. For iPhone 11 and earlier or Android phones, use the included metal ring. Thick cases may reduce magnetic hold
npx playwright test --trace on
Playwright also supports on-first-retry, on-all-retries, retain-on-failure and off. A useful default for CI is retain-on-failure; it avoids keeping successful-run archives while preserving evidence for failures. The documentation labels tracing every test with on as performance-heavy, so choose an always-on policy only when the diagnostic value justifies the storage and runtime cost.
Open the trace
Once a test produces a trace ZIP, open it locally with:
npx playwright show-trace path/to/trace.zip
The Playwright documentation says the browser-hosted viewer processes the trace in your browser and does not transmit the trace data externally. That statement applies to the documented viewer; it does not automatically describe third-party trace storage or hosting.
Capture a trace without Playwright Test
For custom runners, use the BrowserContext tracing API:
import { chromium } from 'playwright';
const browser = await chromium.launch();
const context = await browser.newContext();
await context.tracing.start({ screenshots: true, snapshots: true });
const page = await context.newPage();
await page.goto('https://example.com');
await page.getByRole('link', { name: 'More information' }).click();
await context.tracing.stop({ path: 'trace.zip' });
await context.close();
await browser.close();
Enable screenshots when visual frames will help correlate an action with the page state. DOM snapshots and action logs are especially useful for locator failures that a final screenshot cannot explain. Read the Playwright Trace Viewer guide for the supported capture modes and viewer workflow.
Rank #3
- Real-time Rear Camera Monitor: Use the LUCKSKY selfie monitor screen iphone to instantly sync your phone’s rear camera view via the screen mirroring function (up to 4K at 60FPS). Say goodbye to blurry front camera shots and awkward rear camera angles — making content creation easier and more professional. Capture perfect selfies, vlogs, live broadcasts, and content for platforms like TikTok, Instagram, and YouTube anytime, anywhere.
- Easy Connection & Remote Shooting: Our LUCKSKY back camera monitor iphone connects to the phone through screen mirroring, allowing you to synchronize the rear camera's image in real time with smooth, delay-free video playback (within 33 feet). Equipped with a remote control button to connect via Bluetooth, you can remotely control shooting or recording without awkwardly reaching out or rushing to take selfies.
- 180° Rotation & 3-Level Brightness: Using screen rotation button, you can easily rotate the display 180°, eliminating the hassle of upside-down images and helping you capture perfect selfies. At the same time, the LUCKSKY vlog selfie monitor screen iphone features three adjustable brightness levels—high, medium, and low—to suit various lighting conditions. You can freely adjust the brightness according to ambient light, ensuring every frame is clear and well-lit.
- Wide Compatibility: Our back camera monitor iphone features built-in magnetic suction, allowing it to be directly attached to iPhone 12/13/14/15/16/17/18 and similar models. It also includes a magnetic sticker, which can be attached to a wide range of smartphones, such as iPhone 8/9/10/11/12, Samsung Galaxy, and more. The ultra-strong magnetic hold ensures stability and reliability during shooting, preventing accidental slips or drops. (Note: The screen mirroring function is only compatible with iOS 9.0 and above, and Android 2.0 and above.)
- Packing list: 1 × selfie monitor screen, 1 × Bluetooth Remote Control, 1 × Magnetic Sticker, 1 × Type-C Data Cable, 1 × User Manual. If you have any questions about this vlog back camera monitor iphone, feel free to contact us. We’ll provide the best solution, and our customer service team will respond within 24 hours.
Record browser actions as tests with Selenium IDE
Selenium IDE is a browser extension for Chrome, Firefox and Edge that records and plays back user actions. It is the closest match to “record my clicks and turn them into a test,” rather than “save a video of this run.”
Getting-started workflow
- Open Selenium IDE and create a new project.
- Enter the project’s base URL.
- Start the recording flow, which opens a browser window.
- Interact with the site as a user: navigate, click, type and submit.
- Return to Selenium IDE and stop recording.
- Review the generated commands, edit locators or values, and play the test back.
Because the result is a command sequence, inspect and maintain it like source code. Recorded selectors can be fragile when a site changes its markup; replace them with stable attributes or clearer locator strategies where appropriate. The official documentation describes the extension and its getting-started process at Selenium IDE and Getting Started · Selenium IDE.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Which approach should a team standardize?
For visual review
Choose Playwright video. It answers “what did the user see?” and is easy to attach to a build or share with a non-technical reviewer. Select on-first-retry or retain-on-failure when routine recordings would create unnecessary artifacts.
For flaky-test investigation
Choose a Playwright trace. Its locator, timing, source and DOM information lets you distinguish a timeout, an unexpected page transition, a changed element and a race condition. Start with failure- or retry-oriented capture, then use --trace on for a reproduction run that needs complete coverage.
For quickly creating a replayable test
Choose Selenium IDE. It gives you an editable command list from a manual interaction session. It does not replace a video or a Playwright trace when you need visual or DOM-level diagnostics.
Rank #4
- 【QHD 2.7K Video Camera】 This camcorder supports 2.7K video recording, up to 50MP photo resolution, and 16X digital zoom. The built-in LED fill light enhances your shoots in low-light and nighttime conditions. Suitable for various scenarios like sports events, family gatherings, football games, travel, weddings, YouTube videos, live streaming, and hiking, it lets you capture every exciting moment.
- 【Webcam Functionality】When connected to a computer, this video camera can function as a webcam. Perfect for live streaming, video calls with family and friends, or recording meetings and classes, it ensures a clear and high-quality connection. Capture stunning photos or videos and share them on YouTube with this vlogging camera.
- 【Long-duration & Recording While Charging】The QHD vlogging camera includes two high-capacity 1500mAh NP-40 lithium batteries, each providing over 140 minutes of continuous recording. It also supports recording while charging, ensuring you won't miss any important moments due to low battery, making it perfect for events like concerts, sports games, and vlogging.
- 【Multifunctional Camcorder】This versatile video camera features an LCD screen with 270° rotation, anti-shake, face detection, self-timer, continuous shooting, image stabilization, multiple scene modes, webcam functionality, USB 2.0, and more. Lightweight and portable, the camcorder is perfect for capturing beautiful moments anytime, anywhere, making it an excellent gift for family and friends.
- 【Supports Large Storage & Microphone】With the included 16GB memory card, you can start shooting right away without any additional purchases. The 2.7K camcorder supports up to 128GB of expandable storage and an external microphone (not included) for capturing clearer audio. It also supports tripod (not included) connections with a standard-sized mounting hole, catering to your diverse needs.
Operational details that prevent lost recordings
- Close contexts deliberately. A manually created Playwright video may not exist until
await context.close()completes. - Persist CI artifacts. Configure your CI system to upload the test-results directory and trace ZIP files before the job workspace is discarded.
- Use selective policies. Always-on video and tracing increase files and capture work; retry- and failure-oriented modes usually provide better signal per artifact.
- Protect sensitive data. Videos, traces and recorded commands can contain account names, page content, URLs, cookies or typed values. Restrict access and avoid recording production credentials.
- Keep a reproducible command. Save the exact test command and browser version alongside an artifact so another engineer can replay the same run.
Troubleshooting recording failures
No video file appears
With a manually created context, the usual cause is process exit before the context closes. Await context.close() before closing the browser or ending the script. In Playwright Test, verify that the selected mode is not off and that your CI job uploads the test-results directory.
The video is present but the test result is missing
Check artifact collection rules and path filters. Playwright creates per-test result directories, so uploading only a top-level screenshots folder can omit videos.
The trace command cannot find the archive
Use the path printed by the test runner or locate the generated trace.zip under the test-results directory. Pass the complete path to npx playwright show-trace.
Tracing slows the suite
Switch from on to retain-on-failure or on-first-retry. Reserve always-on tracing for short reproductions or investigations where the extra context is essential.
Selenium IDE recorded unstable steps
Open the generated command list and replace selectors that depend on changing CSS classes or layout position. Add explicit waits or assertions where the application loads asynchronously, then replay the edited test rather than relying on the raw recording.
Free tools Windows power users keep installed
One-click scans. No signup required.
Best Value
- 4K DIGITAL CAMERA WITH AUTOFOCUS: The newest 4K digital camera for photography captures videos in 4K resolution and snaps ultra HD 48MP images. With Autofocus and 16X digital zoom, every detail is crisp, clear, and vibrant even captured from a distance.
- 180° FLIP SCREEN AND PORTABLE: Our 4k camera for photography offers a 3.0-inch IPS 180° flip screen, ideal for selfie enthusiasts and vlogging creation. Designed for travel and everyday use, this compact travel camera for pictures is built to last. Its small size and durable construction make it a reliable companion for capturing memories on the go.
- MULTIFUNCTIONAL PHOTOGRAPHY CAMERA: The 4K digital video camera features a date stamp, exposure compensation (-3.0 to +3.0), video pause and playback, time-lapse, slow-motion, giving your videos a creative edge. Additional features like a fill light, Anti-shake, 3 continuous shooting, smile & face detection, beauty face, self-timer, and various filters encourage you to stretch your creative boundaries.
- WEBCAM AND EASY TRANSFER: This 4K vlogging camera for YouTube doubles as a webcam, perfect for live streaming, video chats, and vlogging. You can connect the photo camera to your computer via an USB cable for easy file download, sharing your experiences with friends instantly. With 2 spare rechareable batteries, never worry about power shortage.
- A PERFECT GIFT WITH A HASSLE-FREE WARRANTY: User-friendly and versatile, this portable digital camera for teens is an ideal gift for beginners, amateurs, teens, and seniors, fulfilling daily shooting needs easily. Enjoy our worry-free 18-month replacement and refund warranty. Our prompt customer support team is ready to assist you in under 12 hours!
Or skip the browser setup
If your goal is a clean image of a page rather than a diagnostic recording of an automation run, ScreenshotNeo provides a website screenshot API and MCP server. It accepts consent banners like a visitor and removes more than 60 known consent platforms, newsletter popups and chat widgets before capture; each cleanup step can be disabled. Bot checks, CAPTCHAs, blank pages, timeouts, failed loads and cache hits are not billed, and the response identifies the page verdict and billing status in X-Page-Verdict and X-Billed headers.
One GET request returns PNG, JPEG, WebP or PDF. The API supports full-page and element captures, dark mode, device presets, custom viewport and retina scale, PDF paper settings, custom CSS and JavaScript, clicks, selector waits, network-idle waits, request blocking, headers, cookies, user agents, authorization, timezone, geolocation, transparent backgrounds, resizing, configurable caching, signed image links, asynchronous jobs with signed webhooks, bulk capture of up to 100 URLs per call, usage reporting and an OpenAPI specification. Parameter names used by other screenshot APIs also work.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
See the ScreenshotNeo documentation for options and response headers. Its MCP server exposes take_screenshot, get_page_info and capture_pdf to Claude, Cursor and other MCP clients, so an AI agent can request captures without you wiring browser setup into every workflow. The Free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. Sign up for the free plan.
FAQ
Can one recording include both a video and a trace?
Yes. Configure Playwright video and trace capture independently for the same test run, then retain the artifacts together. They answer different questions: visual playback versus internal diagnostic context.
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Does Selenium IDE export a video?
No. Selenium IDE records browser commands for playback and editing. Use Playwright video when you need a video file.
When should I use a final screenshot instead?
Use a final screenshot for a single-state check or visual documentation. It cannot show the sequence, timing, locator details or intermediate DOM states available in a trace.
Frequently Asked Questions
Can one recording include both a video and a trace?
Yes. Configure Playwright video and trace capture independently for the same test run, then retain the artifacts together. They answer different questions: visual playback versus internal diagnostic context.
Does Selenium IDE export a video?
No. Selenium IDE records browser commands for playback and editing. Use Playwright video when you need a video file.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchWhen should I use a final screenshot instead?
Use a final screenshot for a single-state check or visual documentation. It cannot show the sequence, timing, locator details or intermediate DOM states available in a trace.
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.




