LaneshotDocs

Search the docs

Find a page or a section

Open Laneshot

Capture bugs

Browser extension

Install the Laneshot extension, connect it to Laneshot, and record tabs, windows, screens, and annotated screenshots.

The Laneshot extension records bugs with their full technical context. It runs in Chrome, Edge, and other Chromium browsers, Firefox 128 and later, and Safari.

The extension popup
The extension popup, connected and ready to record.

Install the extension

In Laneshot, select Browser extension in the sidebar. The page shows the store button for the browser you're using:

Browser Store
Chrome, Brave, Arc, Opera Chrome Web Store
Edge Microsoft Edge Add-ons
Firefox 128 and later Firefox Add-ons
Safari on macOS Mac App Store

Select Add to your browser, then confirm in the store. Pin the extension to the toolbar so it's one click away.

When a browser shows coming soon, its store listing isn't published yet. Install it by hand instead, as described below.

Install by hand

Self-hosted servers can use the store listings too: the extension connects to any Laneshot address. To run a build of your own instead, build the extension from the source code, then load it in your browser. You need Node.js 22 or later. On Laneshot Cloud, use the store listings; until your browser's listing is out, collect bugs with recording links.

Browser Build command Load it
Chrome, Edge, Brave, Arc npm run build -w @laneshot/extension Open chrome://extensions, turn on Developer mode, select Load unpacked, and choose apps/extension/.output/chrome-mv3.
Firefox npm run build:firefox -w @laneshot/extension Open about:debugging, select Load Temporary Add-on, and choose apps/extension/.output/firefox-mv3/manifest.json.
Safari npm run build:safari -w @laneshot/extension Run xcrun safari-web-extension-converter apps/extension/.output/safari-mv3, then build and run the generated Xcode project.

To try it without touching your everyday profile, run npm run chrome from the repository. It builds the extension and opens a separate Chrome profile with it loaded.

Each release on the repository's releases page also has ready-made packages for Chrome and Firefox. Firefox only keeps unsigned packages loaded until it restarts, so use the store listing there for everyday use.

Connect it to Laneshot

The extension uploads captures to Laneshot, as you.

  1. Open the extension from the toolbar, or press Alt+Shift+L.
  2. Select Connect to Laneshot. If your team runs its own server, select Self-hosted? Use your server's address instead, enter the address, such as https://bugs.acme.com, and select Connect to this server.
  3. In the Laneshot tab that opens, sign in if needed, then select Connect this browser.

Laneshot creates a personal API token named after your browser and hands it to the extension. The handoff only works on the address you entered, so another site can't send the extension a token or read one. You can revoke the token at any time from your account settings. To switch servers or accounts, select Disconnect in the popup.

Record the current tab

Use this for most bugs.

  1. Go to the page with the bug.
  2. Open the extension. Keep Record my voice on to narrate, or turn it off.
  3. Select Record this tab.
  4. Reproduce the bug. The toolbar icon shows the elapsed time.
  5. Stop with Alt+Shift+S, or open the extension and select Stop and review.

While you record:

  • Nothing is drawn on the page, so the recording shows exactly what users see.
  • The tab's own audio is recorded with your voice, and you keep hearing it.
  • Reloading the page or following a link in the same tab continues the capture.
  • Closing the tab stops the recording and keeps what was captured.
  • Select Discard recording in the popup to throw the recording away.

Recordings stop automatically after 10 minutes.

Record a window or the screen

Select Record a window or screen when the bug spans several tabs, involves another app, or happens in a browser window you can't record as a tab. A small Laneshot window asks you to select Choose and start, then your browser's picker lets you choose a tab, a window, or a screen.

Console, network, and action data are still captured from the tab you started from. Other windows only appear in the video.

Take a screenshot

Under Take a screenshot, choose what to capture:

Option Captures
Visible What's on screen.
Full page The whole page, top to bottom. Laneshot scrolls through it, then puts the page back where it was. Headers and other elements that stay on screen appear once, at the top.
Area Part of the page. Drag a rectangle over it. Press Enter to take the whole screen instead, or Esc to cancel.

Very long pages are cut at the tallest image a browser can draw: about 32,000 pixels, or 16,000 on a high-resolution screen. On pages that scroll inside a panel rather than as a whole, Full page captures what's on screen.

The review page opens with an editor:

Tool Shortcut Use it to
Select V Move a mark, or drag its corners or ends to resize it.
Arrow A Point at something.
Box R Outline an area.
Text T Add a note: click where it goes and type. Double-click a note to change it.
Hide H Pixelate personal or sensitive information. Hidden areas are always drawn under the other marks, so an arrow or a box over them stays visible.

Every mark stays editable until you upload:

  • Click a mark to select it, with any tool. With a drawing tool, grab it by its line or outline, so you can still draw inside a box. With Select, you can also drag it from inside.
  • Pick a color for the next mark, or to recolor the selected one.
  • Delete the selected mark with Delete or Backspace, or the trash button.
  • Undo with ⌘+Z (Ctrl+Z on Windows and Linux), and redo with ⇧+⌘+Z.

The marks are flattened into the uploaded image.

The screenshot editor on the review page
Annotating a screenshot of the Acme checkout before uploading it.

Screenshots include the page's activity from the two minutes before you took them, so the console error that caused a blank page is usually there.

Review and upload

When a capture ends, a review page opens. It shows the recording or screenshot and a summary: console errors, failed requests out of the total, and user actions.

  1. Title: defaults to the page's title. Make it describe the bug, such as Card payment fails with 3-D Secure on Safari.
  2. What went wrong?: what you expected and what happened instead.
  3. Save to:
    • A new card creates a card in the project you choose, with the trace attached.
    • An existing card attaches the trace to a card you search for by title or number.
    • My traces only keeps the trace in your library, without a card.
  4. Select Upload trace.

The capture is kept in your browser until the upload finishes. If the upload fails, fix the problem and select Upload trace again. Select Discard to delete it.

Keyboard shortcuts

Shortcut Action
Alt+Shift+L Open the extension.
Alt+Shift+S Stop the recording and review it.
Alt+Shift+R Save the last minutes of this tab, when instant replay is on.

Change them at chrome://extensions/shortcuts in Chrome, or under Manage Extension Shortcuts in Firefox's add-ons page.

Browser support

Feature Chromium Firefox Safari
Record this tab Records the tab directly, without a picker. Opens the screen picker. Opens the screen picker.
Record a window or screen Yes Yes Yes
Screenshots Yes Yes Yes
Voice-over Yes Yes Yes
Console, network, and actions Yes Yes Yes
Instant replay Yes Yes Yes
Video format MP4 (H.264 and AAC) WebM MP4

MP4 recordings play with sound in every browser. Safari plays a WebM recording's picture but not its sound, so Laneshot moves WebM recordings from Chrome, such as those of older extension versions, into MP4 when they're uploaded, without re-encoding them. Firefox records WebM with VP8, which can't move, so watch Firefox recordings in Chrome or Firefox to hear them.

Laneshot's automated tests run in Chromium. Firefox and Safari builds use the same capture code, but check them on your own pages before rolling them out widely.

In Chromium, the extension asks for microphone access the first time, in a separate tab. In Firefox and Safari, the browser asks when the recording starts. If you deny the microphone, the recording continues without your voice.

Limits

Limit Value
Longest recording 10 minutes
Largest video upload 2 GB
Largest screenshot upload 25 MB
Largest event log 32 MB
Activity kept from before the capture 2 minutes, up to 1,000 events per frame

Troubleshooting

"Laneshot can't see this page yet." The extension's scripts load when a page loads, so tabs that were open before you installed or updated the extension don't have them. Select Reload page in the extension, then record again.

"Laneshot can't capture browser pages like this one." Browsers don't let extensions record their own pages, such as the new tab page, chrome:// settings, or extension stores. Open the website you want to record instead.

The recording has no sound. Check that Record my voice was on and that the browser has microphone access for the extension. The tab's own audio is only included when you record the tab, not a window or screen, unless you share audio in the picker.

No console or network data. Data is collected from the tab you started recording in. If you switched tabs during a window or screen recording, events from other tabs aren't included.

The upload failed. The capture stays on the review page. Check that you can reach your Laneshot server, then retry. If the extension was disconnected, reconnect it and retry.