DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
getDisplayMedia

How to Record a Webpage as Video (Browser, OBS, and API Methods)

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

To record a webpage as video, capture the browser tab, window, or entire display that shows it. In a web app, the Screen Capture API method getDisplayMedia() asks the user to choose a surface and returns a media stream that can be saved with MediaRecorder. For a produced video with overlays or a URL-driven scene, add the page as an OBS Studio Browser Source. These methods record rendered pixels; they do not download the website’s original video file.

Choose the right recording method

Your choice depends on what must appear in the finished file and how much control you need.

Need Best starting point What it does
Quick demonstration of the page you can see Tab capture Records one browser tab after you select it in the sharing prompt.
Include browser chrome, another application, or multiple windows Window or display capture Records the selected application window or the whole monitor.
Scenes, overlays, camera, transitions, or a fixed URL canvas OBS Browser Source Loads a webpage by URL or local file inside an OBS scene; you then record the scene.
Automated recording from a web application getDisplayMedia() plus MediaRecorder Requests permission, receives a MediaStream, and encodes chunks in the browser.
Only one HTML element for a developer workflow Chrome Element Capture API Restricts a captured stream to a selected element and its descendants; it is not a consumer recorder’s arbitrary rectangle tool.

The documented workflows do not establish one universally best recorder, a universal output format, or a quality winner. Pick the surface and editing workflow that match your goal.

Record the page you can see with a browser or desktop recorder

  1. Open the webpage and put it in the state you want to demonstrate. Close unrelated tabs and notifications.
  2. Open your recorder’s capture command and choose Browser tab, Window, or Entire screen. Exact labels vary by recorder and operating system.
  3. In the browser or system sharing dialog, select the page’s tab, its browser window, or the display containing it. The selection is permission-mediated; the recorder cannot silently choose a surface for you.
  4. Enable microphone or system-audio options only when your narration or demonstration requires them. A microphone is optional, not a prerequisite.
  5. Start recording, perform the demonstration, then use the recorder’s stop control. Save the resulting file and inspect the beginning, end, and any page transitions before editing.

A tab recording follows the rendered page, including animations and scrolling. Window or display capture also includes anything else visible in that selected surface, so move private material off-screen before you start.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Logitech Brio 101 Full HD 1080p Webcam for Streaming and Meetings - Black
  • Compatible with Nintendo Switch 2’s new GameChat mode
  • Auto-Light Balance: RightLight boosts brightness by up to 50%, reducing shadows so you look your best—compared to previous-generation Logitech webcams (1)
  • Privacy with a Slide: The integrated webcam cover makes it easy to get total, reliable privacy when you're not on a video call
  • Built-In Mic: The built-in microphone lets others hear you clearly during video calls
  • Easy Plug-And-Play: The Brio 101 works with most video calling platforms, including Microsoft Teams, Zoom and Google Meet—no hassle; it just works

Navigation during a capture

Navigation behavior depends on the recorder and capture architecture. Chrome’s extension documentation states: “If called within a content script, recording will automatically end when the user navigates to a new page.” Extension developers who need a recording to continue across navigation can use an offscreen-document approach described in the Chrome screen-capture guide. Do not assume that statement applies identically to every desktop recorder.

Build a simple recorder with getDisplayMedia()

The Screen Capture API presents a chooser, then returns a stream for the selected tab, window, or display. The following complete page records the stream with MediaRecorder, collects its chunks, and downloads a WebM file when you stop. The web.dev screen-recording guide demonstrates this general pattern.

<!doctype html>
<meta charset="utf-8">
<title>Webpage recorder</title>
<button id="start">Choose surface and record</button>
<button id="stop" disabled>Stop and save</button>
<video id="preview" autoplay muted playsinline style="max-width:100%"></video>
<p id="status">Idle</p>
<script>
const start = document.querySelector('#start');
const stop = document.querySelector('#stop');
const preview = document.querySelector('#preview');
const status = document.querySelector('#status');
let recorder, stream, chunks = [];

start.onclick = async () => {
  try {
    stream = await navigator.mediaDevices.getDisplayMedia({
      video: true,
      audio: true
    });
    preview.srcObject = stream;
    chunks = [];
    recorder = new MediaRecorder(stream);
    recorder.ondataavailable = event => {
      if (event.data.size) chunks.push(event.data);
    };
    recorder.onstop = () => {
      const blob = new Blob(chunks, { type: recorder.mimeType || 'video/webm' });
      const url = URL.createObjectURL(blob);
      const link = document.createElement('a');
      link.href = url;
      link.download = 'webpage-recording.webm';
      link.click();
      URL.revokeObjectURL(url);
      status.textContent = 'Saved webpage-recording.webm';
    };
    stream.getVideoTracks()[0].addEventListener('ended', () => {
      if (recorder.state === 'recording') recorder.stop();
    });
    recorder.start();
    start.disabled = true;
    stop.disabled = false;
    status.textContent = 'Recording';
  } catch (error) {
    status.textContent = `Capture was not started: ${error.name}`;
  }
};

stop.onclick = () => {
  if (recorder && recorder.state === 'recording') recorder.stop();
  stream?.getTracks().forEach(track => track.stop());
  start.disabled = false;
  stop.disabled = true;
};
</script>

When you click the first button, the browser shows its sharing dialog. Choose the tab containing the webpage, a browser window, or a display. If you decline, close the dialog, or the selected track ends, the page reports the failure or stops the recording. The example requests audio, but the person choosing the surface still controls what audio is shared; remove audio: true when you do not need it.

Saving and converting the result

The example saves the chunks as WebM, matching the format used in web.dev’s example. The supplied documentation does not establish that every recorder or browser exports WebM, nor that WebM is universally preferable. If your editor or publishing system requires another format, convert the file in your normal post-production workflow and verify audio synchronization after conversion.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
Logitech C270 720p Webcam Plug-and-Play Wide Screen Video Calling - Black
  • Compatible with Nintendo Switch 2’s new GameChat mode
  • Crisp HD 720p/30 fps video calls with diagonal 55° field of view and auto light correction. Compatible with popular platforms including Skype and Zoom.
  • The built-in noise-reducing mic makes sure your voice comes across clearly up to 1.5 meters away, even if you’re in busy surroundings.
  • C270’s RightLight 2 feature adjusts to lighting conditions, producing brighter, contrasted images to help you look good in all your conference calls.
  • The adjustable universal clip lets you attach the camera securely to your screen or laptop, or fold the clip and set the webcam on a shelf. You’re always ready for your next video call.

Use OBS Studio for a composed recording

OBS is useful when the page is one layer in a production rather than the only thing on your desktop. Its Browser Source loads a webpage by URL or a local file inside an OBS scene.

  1. Install and open OBS Studio, then create or select a scene.
  2. In Sources, choose Browser (Browser Source).
  3. Enter the webpage URL or local file path and set the source’s viewport width and height to the canvas you intend to record.
  4. Set a page refresh or custom CSS/other source options only when your scene requires them; test the page before recording.
  5. Add microphone, camera, image, or other sources as separate layers, arrange them in the scene, and check the audio mixer.
  6. Start recording in OBS, interact with the Browser Source or let its animation run, then stop and review the file.

This embeds the page in OBS instead of recording the browser window as it appears on your desktop. It can prevent unrelated desktop content from appearing and makes overlays and transitions repeatable. It also means you should test the page’s loading behavior at the chosen viewport before the final take.

Capture one element instead of the whole tab

Chrome’s Element Capture documentation describes a developer API that restricts a stream to a selected HTML element and its direct descendants. That is different from dragging an arbitrary rectangle in a consumer screen recorder. Use it when you control a web application and need a specific component; otherwise, capture the tab or use an OBS Browser Source.

Element capture does not turn a webpage into a downloadable source video. It still records rendered output, and the user-permission and browser-policy rules for screen capture remain relevant.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
NexiGo N60 1080P Webcam with Microphone, Software Control & Privacy Cover, USB HD Computer Web Camera, Plug and Play, for Zoom/Skype/Teams, Conferencing and Video Calling
  • 【Full HD 1080P Webcam】Powered by a 1080p FHD two-MP CMOS, the NexiGo N60 Webcam produces exceptionally sharp and clear videos at resolutions up to 1920 x 1080 with 30fps. The 3.6mm glass lens provides a crisp image at fixed distances and is optimized between 19.6 inches to 13 feet, making it ideal for almost any indoor use.
  • 【Wide Compatibility】Works with USB 2.0/3.0, no additional drivers required. Ready to use in approximately one minute or less on any compatible device. Compatible with Mac OS X 10.7 and higher / Windows 7, 8, 10 & 11 / Android 4.0 or higher / Linux 2.6.24 / Chrome OS 29.0.1547 / Ubuntu Version 10.04 or above. Not compatible with XBOX/PS4/PS5.
  • 【Built-in Noise-Cancelling Microphone】The built-in noise-canceling microphone reduces ambient noise to enhance the sound quality of your video. Great for Zoom / Facetime / Video Calling / OBS / Twitch / Facebook / YouTube / Conferencing / Gaming / Streaming / Recording / Online School.
  • 【USB Webcam with Privacy Protection Cover】The privacy cover blocks the lens when the webcam is not in use. It's perfect to help provide security and peace of mind to anyone, from individuals to large companies. 【Note:】Please contact our support for firmware update if you have noticed any audio delays.
  • 【Wide Compatibility】Works with USB 2.0/3.0, no additional drivers required. Ready to use in approximately one minute or less on any compatible device. Compatible with Mac OS X 10.7 and higher / Windows 7, 10 & 11, Pro / Android 4.0 or higher / Linux 2.6.24 / Chrome OS 29.0.1547 / Ubuntu Version 10.04 or above. Not compatible with XBOX/PS4/PS5.

Handle prompts, permissions, and privacy

When no sharing prompt appears

Managed Chrome installations can control whether websites may prompt users to share a tab, window, or screen video stream. A missing or blocked dialog may therefore be an administrator policy rather than a bug in your page. Check the applicable Chrome Enterprise policy documentation or ask the administrator to permit the required capture type.

Protect information outside the demonstration

  • Choose tab capture instead of entire-display capture when other windows may contain private information.
  • Close password managers, messaging popups, and notifications before sharing a window or display.
  • Tell participants when microphone or system audio is being recorded and obtain any consent required by your workplace or jurisdiction.
  • Review the complete recording before publishing; a recorder captures whatever is rendered on the selected surface.

The cited technical material explains how surface capture works, not whether you have legal permission to record a particular site or content. Confirm rights and applicable rules yourself.

Performance and reliability checklist

  • Run a short test at the same page size, tab, and audio settings as the final take.
  • Keep the page and recorder visible only on the selected surface; unnecessary tabs and applications consume resources.
  • Wait for the page’s important content and animations to load before pressing record.
  • Watch the preview for a frozen page, missing audio, or a stopped track.
  • For long demonstrations, make a brief test of navigation between pages, because some extension capture flows end on navigation.
  • Save the raw file before editing and keep a second copy while you verify the export.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting common failures

“Permission denied” or the chooser was canceled

Run the capture from a user gesture such as a button click, reopen the page, and choose a surface in the dialog. If an administrator policy blocks sharing, the user cannot override it from page code.

The recording stops when I open another page

That can be expected in a content-script extension flow. Use the offscreen-document pattern described in the Chrome guide, or use a desktop recorder/OBS workflow designed for the navigation you need.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Sale
EMEET C960 1080P Webcam with Microphone, 2 Mics, 90° FOV, Computer Camera
  • 1080P Webcam with Cover for Video Calls - EMEET computer webcam provides design and Optimization for professional video streaming. Realistic 1920 x 1080p video, 5-layer anti-glare lens, providing smooth video. C960 computer camera delivers 1920x1080 video with fixed focus (11.8–118.1 inches), so as to provide a clearer image. C960 USB webcam has a cover and can be removed automatically to meet your needs for privacy. For optimal image performance, use the webcam in a well-lit environment.
  • Built-in 2 Omnidirectional Mics - EMEET webcam with microphone for desktop features 2 built-in omnidirectional microphones, picking up your voice to create clear audio for communication. When installing the webcam, select EMEET C960 as the default microphone input device in your computer and video applications and select C960 as the default device in Zoom/Teams and ensure microphone permissions are enabled for proper use. Please note that C960 does not include built-in speakers.
  • Automatic Light Adjustment - Automatic exposure adjustment is applied in EMEET HD webcam 1080p so that the streaming webcam can deliver stable image performance. EMEET C960 camera for computer also features color adjustment and exposure optimization to help you look your best. For optimal video quality, it is recommended to use the webcam in normal or well-lit environments and select suitable video settings in your application. Proper lighting helps achieve a clearer and more balanced image.
  • Plug-and-Play & Upgraded USB Connectivity - New C960 webcam features both USB Type-A & A-to-C adapter connections for wider compatibility. For stable performance, connect the webcam directly to the computer's main USB port and ensure the device is recognized correctly. If a hub or docking station is used, please ensure it provides sufficient power and stable data transmission, as limited ports may affect performance. 90° wide-angle lens captures more participants without frequent adjustments.
  • High Compatibility & Multi Application - C960 webcam for laptop is compatible with Windows 10/11, macOS 10.14+, and Android TV 7.0+. Not supported: Windows Hello, TVs, tablets, or game consoles. It works with Zoom, Teams, Facetime, Google Meet, YouTube and more. Please select C960 webcam as the default camera and microphone device in your application and ensure camera/microphone permissions are enabled, especially on macOS. (Tips: Incompatible with Windows Hello)

The video has no sound

Confirm that the selected surface offers audio and that the recorder requested it. Check the operating system’s input/output selection and perform a short test; a video track can work even when no audio track is shared.

The page is cropped or the text is too small

For tab or window capture, adjust the browser window and page zoom before recording. For OBS, set the Browser Source viewport and scene canvas deliberately, then test at the final output size.

Only part of the page appears

A selected window or tab records its rendered viewport, not an automatically generated full-page scroll. Scroll deliberately during the take, or use a tool designed for full-page still captures when video is not required.

The saved file will not open in my editor

The example creates WebM. Use an editor that accepts WebM or convert it in your normal media pipeline, then check that both video and audio tracks survived.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Logitech C920x HD Pro PC Webcam Full 1080p/30fps Video - Black
  • Compatible with Nintendo Switch 2’s new GameChat mode
  • HD lighting adjustment and autofocus: The Logitech webcam automatically fine-tunes the lighting, producing bright, razor-sharp images even in low-light settings. This makes it a great webcam for streaming and an ideal web camera for laptop use
  • Advanced capture software: Easily create and share video content with this Logitech camera that is suitable for use as a desktop computer camera or a monitor webcam
  • Stereo audio with dual mics: Capture natural sound during calls and recorded videos with this 1080p webcam, great as a video conference camera or a computer webcam
  • Full HD 1080p video calling and recording at 30 fps. You'll make a strong impression with this PC webcam that features crisp, clearly detailed, and vibrantly colored video

Or skip the browser setup

If you need a clean still image of a webpage rather than a moving demonstration, ScreenshotNeo makes one GET request for a PNG, JPEG, WebP, or PDF. It is a screenshot API, not a video recorder, so it cannot replace a narrated or animated video. It can, however, provide consistent page images for a storyboard, thumbnail, documentation step, or before/after frame.

ScreenshotNeo accepts the cookie or consent banner like a visitor and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each cleanup step can be turned off. Only clean shots are billed: bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers identify the page verdict and whether it was billed. Developers can also use its MCP server tools—take_screenshot, get_page_info, and capture_pdf—from Claude, Cursor, or another MCP client.

For a one-call capture, see the ScreenshotNeo documentation and use:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

There is no browser-sharing prompt to configure, no cookie banner, popup, or chat widget in the resulting shot, and failed or blocked pages are not billed as clean captures. Plans include 1,000 screenshots a month free with no card; paid plans start at $5 for 3,000. Create a free ScreenshotNeo account.

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

Frequently Asked Questions

Does recording a webpage download its original video file?

No. Screen and tab capture records the pixels rendered by the selected surface. Downloading a site’s source media is a separate task.

Can I record a page without showing the browser address bar?

Yes. Select the tab itself or use an OBS Browser Source instead of recording the whole browser window or display.

Is a microphone required?

No. It is optional for narration. The page can be recorded with video alone, subject to what the selected surface shares.

Can I automate a video recording with ScreenshotNeo?

No. ScreenshotNeo returns still images or PDFs. Use a screen recorder, OBS, or a Screen Capture API workflow for motion video.

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

Quick Recap

SaleBestseller No. 1
Logitech Brio 101 Full HD 1080p Webcam for Streaming and Meetings - Black
Logitech Brio 101 Full HD 1080p Webcam for Streaming and Meetings - Black
Compatible with Nintendo Switch 2’s new GameChat mode; Built-In Mic: The built-in microphone lets others hear you clearly during video calls
$35.90
SaleBestseller No. 2
Logitech C270 720p Webcam Plug-and-Play Wide Screen Video Calling - Black
Logitech C270 720p Webcam Plug-and-Play Wide Screen Video Calling - Black
Compatible with Nintendo Switch 2’s new GameChat mode
$16.89
Bestseller No. 5
Logitech C920x HD Pro PC Webcam Full 1080p/30fps Video - Black
Logitech C920x HD Pro PC Webcam Full 1080p/30fps Video - Black
Compatible with Nintendo Switch 2’s new GameChat mode; Fully compatible with Windows 11
$69.99

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

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.

Read next

Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.