LaneshotDocs

Search the docs

Find a page or a section

Open Laneshot

Capture bugs

What is captured

The exact data Laneshot records during a capture, its limits, and how sensitive values are masked.

When you record a tab, take a screenshot, or save an instant replay, the extension collects the page's technical activity alongside the image. This page lists everything it records, how much, and what it never records.

Overview

Data Video Screenshot Replay Recording link
Screen Video with audio Annotated image DOM rebuild Video with audio
Console and errors Yes Last 2 minutes Last 2 minutes No
Network requests Yes Last 2 minutes Last 2 minutes No
WebSocket and SSE messages Yes Last 2 minutes Last 2 minutes No
User actions Yes No Last 2 minutes No
Navigation and page events Yes Last 2 minutes Last 2 minutes No
Environment Yes Yes Yes Yes
Transcript When configured No No When configured
Backend trace IDs Yes, plus propagation Yes Yes No

Recording links work without the extension, so they can only record the screen and the browser's environment.

Console

Every console.debug, log, info, warn, and error call is recorded with its arguments. Objects are serialized up to 4 levels deep and 50 entries per level, and each message is cut at 10,000 characters. Errors keep their stack trace.

The extension also records:

  • Failed console.assert calls, as errors.
  • console.trace calls, with the stack.
  • Uncaught exceptions and unhandled promise rejections.
  • Images, scripts, and stylesheets that failed to load.
  • Content Security Policy violations, with the blocked address and directive.

Network

Requests made with fetch, XMLHttpRequest, and navigator.sendBeacon are recorded with:

  • Method, address, status, and duration.
  • Request and response headers.
  • Request bodies, including FormData fields. Files are described by name and size, not uploaded.
  • Response bodies for text formats: JSON, text, XML, JavaScript, form data, and GraphQL. Binary responses and event streams are skipped.

Bodies are cut at 64,000 characters, and reading a response body stops after 5 seconds, so a slow stream never holds up the page.

Images, scripts, stylesheets, fonts, and other assets are recorded from the browser's performance timeline with their address, status, duration, and size. Their headers and bodies aren't available to pages, so they aren't recorded.

WebSockets and Server-Sent Events

For each WebSocket and EventSource connection, Laneshot records the connection opening and closing, errors, and the first 200 messages of each connection, sent or received. Text messages are masked like request bodies and cut at 2,000 characters. Binary messages are described by size.

User actions

The extension records:

Action Recorded as
Clicks The element's selector and its label, such as button.pay "Pay now"
Changes to a form field The field's selector and name, never its value
Form submissions The form's selector
Enter, Escape, and Tab The key and the focused element

Elements are named by their aria-label, placeholder, or name attribute, or by the visible text of buttons and links. Text you type is never read, and other keys aren't recorded.

  • Page loads, and single-page app route changes through pushState, replaceState, back and forward, and hash changes.
  • Web Vitals: Largest Contentful Paint and Cumulative Layout Shift.
  • Long tasks, and interactions that took longer than 200 ms to respond.
  • The tab becoming visible or hidden, going offline or online, and window resizes.

Environment

Each capture records the page and the device it ran on:

Group Fields
Page Address, title, referrer, and the addresses visited during the capture
Browser Name, version, user agent, language, time zone, color scheme
System Operating system and version, CPU cores, device memory, touch points
Display Viewport, screen size, pixel ratio, zoom, orientation
Network Connection type, downlink speed, round-trip time
Performance Time to first byte, DOM content loaded, page load, first contentful paint, JavaScript heap
Storage The names and sizes of up to 100 localStorage and sessionStorage entries, and cookie names

Storage values and cookie values are never recorded. Your app can add its own fields, such as a user ID or build number, with app metadata.

Iframes

The extension runs in every frame of the page, so console errors and requests from embedded content, such as a payment form, are captured. In the viewer, they're marked with the frame's origin.

Activity before the capture

The extension keeps the last 2 minutes of activity in each frame, up to 1,000 events, in the page's memory. When a capture starts, that activity is included. In the viewer, its timestamp reads before instead of a time. Nothing is sent anywhere until you upload a capture.

Backend trace IDs

While a recording is running, requests to the page's own origin carry a W3C traceparent header, a tracestate: laneshot=1 marker, and a matching sentry-trace header. Pages that already set traceparent or sentry-trace keep their own headers. Requests to other origins are left alone, so they never trigger extra CORS checks.

Laneshot also reads trace IDs from these headers on requests and responses: traceresponse, traceparent, sentry-trace, x-amzn-trace-id, x-cloud-trace-context, x-trace-id, and, as a fallback, x-request-id and x-correlation-id. These IDs link each request to its server-side trace. See Backend telemetry.

Privacy and redaction

Masking happens in the browser, before data leaves the page, and again on the server when events are uploaded.

What How it's masked
Headers The values of Authorization, Proxy-Authorization, Cookie, Set-Cookie, X-Api-Key, X-Auth-Token, X-Csrf-Token, and X-Xsrf-Token become [redacted].
Query parameters Parameters with sensitive names become [redacted].
JSON and form bodies Fields with sensitive names become [redacted], at any depth.
Socket messages Masked like bodies.
Typed text Never recorded.
Storage and cookies Only names and sizes are recorded.

A name is sensitive when it contains password, passwd, passphrase, secret, token, api_key or api-key, authorization, credit_card, card_number, cvv, cvc, or ssn, in any case. For example, a request to /api/pay?token=abc is stored as /api/pay?token=%5Bredacted%5D, and a body of {"email":"jordan@acme.test","password":"hunter2"} is stored as {"email":"jordan@acme.test","password":"[redacted]"}.

What isn't captured

  • Typed values, storage values, and cookie values.
  • Requests made by service workers and by other extensions.
  • Response bodies in binary formats.
  • Activity in tabs other than the one where the capture started.
  • In replays: canvas drawings, video content, and the inside of cross-origin iframes.