• Home
  • /
  • Learning Hub
  • /
  • WebXR: Browser Support, Use Cases, and Known Issues (2026 Guide)
Testing

WebXR: Browser Support, Use Cases, and Known Issues (2026 Guide)

WebXR is the W3C API for VR and AR in the browser. Learn what WebXR is, which browsers support it, real-world use cases, and the known issues developers face.

Author

Prince Dewani

May 1, 2026

WebXR is a W3C JavaScript API that lets web pages render virtual reality and augmented reality experiences. It ships natively in Chrome 79+, Edge 79+, Opera 66+, Samsung Internet 12+, the Meta Quest Browser, and Safari on visionOS 2.0, while Firefox, iOS Safari, and macOS Safari remain unsupported.

What is WebXR?

WebXR is a W3C-standard JavaScript API that lets web pages render 3D scenes to virtual reality (VR) headsets, augmented reality (AR) glasses, and AR-capable phones. It is the official replacement for the deprecated WebVR API, supports both VR and AR through a single interface, and uses WebGL or WebGPU as its rendering backend. Frameworks like Three.js, Babylon.js, and A-Frame build directly on top of it.

Which browsers are compatible with WebXR?

WebXR is supported across Chromium-based browsers and the Meta Quest Browser, partially supported on visionOS Safari, and unsupported on macOS Safari, iOS Safari, and Firefox. Module-level support for hand input, hit testing, depth sensing, and anchors varies across devices, so feature-detect every module before use.

Loading browser compatibility data...

WebXR compatibility in Chrome

Chrome 79+ supports WebXR on desktop and Android with the most complete feature set, including immersive VR sessions and the AR module on AR-capable Android phones.

WebXR compatibility in Edge

Edge 79+ mirrors Chrome's WebXR support through its Chromium engine, providing the same VR and AR session capabilities on Windows.

WebXR compatibility in Safari

Safari does not implement WebXR on macOS, iOS, or iPadOS. Safari on visionOS 2.0 supports WebXR by default for immersive-vr sessions on the Apple Vision Pro, but the WebXR Augmented Reality Module is not yet enabled.

WebXR compatibility in Firefox

Firefox does not support WebXR on desktop or Android; implementation paused after Mozilla discontinued the Firefox Reality browser.

WebXR compatibility in Opera

Opera 66+ on desktop and Opera Mobile 64+ support WebXR through their Chromium foundation, matching Chrome's core feature set.

WebXR compatibility in Samsung Internet

Samsung Internet 12+ supports WebXR with optimizations for Galaxy smartphones and the Samsung Galaxy XR headset.

WebXR compatibility in Meta Quest Browser

The Meta Quest Browser (formerly Oculus Browser) ships with full WebXR support and is the primary VR target, including hand tracking, anchors, plane detection, and passthrough AR.

WebXR compatibility in Internet Explorer

Internet Explorer never implemented WebXR and is end-of-life, so no IE version supports the API.

...

What are the WebXR session modes?

WebXR sessions run in three modes, each defined by the W3C specification:

  • inline: 3D content rendered into a regular <canvas> on the page. No headset needed. Used for product viewers, 360 tours on a phone, and progressive enhancement.
  • immersive-vr: Fully immersive VR session on a headset like Meta Quest 3 or a PC-tethered system. Replaces the page view with stereo rendering to the device.
  • immersive-ar: AR session that overlays content on the real world via passthrough cameras or AR-capable phones. Defined by the WebXR Augmented Reality Module.

A minimal session check and request, following the MDN canonical pattern, looks like this. requestSession() for immersive modes must be called inside a user gesture (click or touch).

// Assumes a DOM button: <button id="enter-xr" disabled>Enter VR</button>
const enterButton = document.getElementById("enter-xr");
let xrSession = null;

if (navigator.xr) {
  navigator.xr.isSessionSupported("immersive-vr").then((isSupported) => {
    if (isSupported) {
      enterButton.addEventListener("click", onButtonClicked);
      enterButton.disabled = false;
    }
  });
}

function onButtonClicked() {
  if (!xrSession) {
    navigator.xr.requestSession("immersive-vr").then((session) => {
      xrSession = session;
      xrSession.addEventListener("end", () => { xrSession = null; });
      xrSession.requestAnimationFrame(onXRFrame);
    });
  } else {
    xrSession.end();
  }
}

function onXRFrame(time, frame) {
  const session = frame.session;
  session.requestAnimationFrame(onXRFrame);
  // render frame here
}

What are the use cases of WebXR?

WebXR powers production experiences across retail, healthcare, training, and entertainment. The most impactful use cases today:

  • E-commerce virtual try-on and AR product placement. Customers preview furniture in their living room (IKEA), try on glasses (Ben & Frank Optics), or fit sneakers using their phone camera. Hit testing and anchors place virtual objects accurately on real surfaces.
  • Enterprise and medical training simulations. Surgeons rehearse procedures on Meta Quest headsets through a browser, factory workers practice hazardous scenarios safely, and aviation crews run emergency drills. A randomized controlled trial published in Annals of Surgery found that VR-trained surgical residents completed gallbladder dissection 29% faster and made significantly fewer errors than conventionally trained peers.
  • Virtual tours for real estate, museums, and tourism. First-person walkthroughs of properties, historic sites, and exhibits delivered through a single URL. Google Arts & Culture is one of the largest publishers of WebXR-based cultural tours.
  • Browser-based VR and AR gaming. Indie titles distributed through itch.io and the Meta Quest Browser, plus marketing activations from Warner Bros, Microsoft, and Blizzard launched via QR code into a mobile browser.
  • Education and 3D learning. Anatomy explorers, chemistry labs, and historical simulations rendered in the browser, used in K-12, universities, and continuing medical education to improve retention through interaction.
Note

Note: WebXR breaks across browsers and OS. Test it on real browsers and OS with TestMu AI. Try TestMu AI free!

What are the known issues with WebXR?

  • No iOS or Safari support. WebXR does not work natively on iPhone, iPad, or Mac, cutting off a large share of mobile users.
  • Performance trails native XR apps. Browsers are largely single-threaded and cannot fully exploit GPU parallelism, leading to lower frame rates on complex scenes.
  • Module support is fragmented. Hand input, hit testing, depth sensing, and anchors are separate modules with uneven device coverage, so feature detection is mandatory.
  • Accessibility is largely unsolved. Canvas-rendered 3D scenes are opaque to assistive technology, with no standardized way to expose scene structure to screen readers.
  • Still flagged experimental. MDN marks WebXR as experimental and the W3C spec continues to evolve, so production code must plan for behavioral differences across browser versions.
...

Author

Prince Dewani is a Community Contributor at TestMu AI, where he manages content strategies around software testing, QA, and test automation. He is certified in Selenium, Cypress, Playwright, Appium, Automation Testing, and KaneAI. Prince has also presented academic research at the international conference PBCON-01. He further specializes in on-page SEO, bridging marketing with core testing technologies. On LinkedIn, he is followed by 4,300+ QA engineers, developers, DevOps experts, tech leaders, and AI-focused practitioners in the global testing community.

Open in ChatGPT Icon

Open in ChatGPT

Open in Claude Icon

Open in Claude

Open in Perplexity Icon

Open in Perplexity

Open in Grok Icon

Open in Grok

Open in Gemini AI Icon

Open in Gemini AI

Copied to Clipboard!
...

3000+ Browsers. One Platform.

See exactly how your site performs everywhere.

Try it free
...

Write Tests in Plain English with KaneAI

Create, debug, and evolve tests using natural language.

Try for free

Frequently asked questions

Did you find this page helpful?

More Related Hubs

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests