How to test WebXR without a headset

By the Turbl team · · 10 min read

To test WebXR without a headset, use an emulator. The quickest one is Meta's free Immersive Web Emulator extension for Chrome and Edge. It gives a desktop page a fake Meta Quest that you move with the mouse and keyboard. An emulator checks your logic and input code. It cannot check comfort, scale or headset performance, so test on a real device before you ship.

What a WebXR emulator does

WebXR is the browser API that connects a web page to a VR or AR headset. If it is new to you, start with what WebXR is.

A desktop browser with no headset attached reports that immersive sessions are not supported. Your "Enter VR" button stays disabled, and none of your XR code runs.

An emulator fixes that. It replaces or fills in the WebXR API on the page with a simulated one. Your code asks for a session and gets one. The headset position, the controllers and the button presses come from an on-screen panel instead of real hardware.

Your app cannot tell the difference. That is the point, and it is also the limit.

The options compared

All of these are free as of November 2026.

ToolWhat it isRuns inSetupWeak point
Immersive Web Emulator (IWE) 2.0Browser extension from MetaChrome, Edge, other Chromium browsersInstall, click the toolbar buttonNo Firefox or Safari
IWERThe runtime behind IWE, as an npm packageAny modern browserA few lines of code in your appMust not load where real WebXR exists
@react-three/xr emulatorIWER built into the React Three Fiber XR packageAny modern browserNone on localhostThe docs call it experimental
IWSDK dev pluginIWER built into Meta's Immersive Web SDKAny modern browserNone in a generated IWSDK projectOnly for IWSDK projects
visionOS SimulatorApple's simulated Vision Pro, running real SafariA Mac with XcodeLarge downloadMac only, Vision Pro only

The first four all run the same engine. IWER stands for Immersive Web Emulation Runtime. It is an open-source TypeScript library from Meta under the MIT license. The extension, the React package and the IWSDK plugin are different ways to load it.

Immersive Web Emulator: the extension

Use this when you want to test any WebXR page without changing its code. It works on your own project and on other people's sites.

As of November 2026 the Chrome Web Store lists version 2.0.0, updated on July 9, 2026. Version 2.0 changed how the extension turns on. Older versions ran on every page. Version 2.0 runs only on sites where you switch it on.

Setup, following the store page:

  1. Install the extension from the Chrome Web Store or the Edge Add-ons store.
  2. Pin the Immersive Web Emulator button to the toolbar.
  3. Open a WebXR page.
  4. Click the toolbar button. The page reloads with the emulator on.
  5. Click the page's own "Enter VR" or "Enter AR" button.

An overlay appears on the page. You use it to move and rotate the headset, the controllers and the hands. You can press triggers, grips and thumbsticks. You can switch between controllers and hand tracking, and simulate a pinch.

Settings that persist live in a WebXR tab inside the browser's DevTools. There you pick the device profile, the simulated room, stereo rendering, the distance between the eyes and the field of view.

Meta's README says the extension's WebXR support is on par with the Meta Quest Browser. As of November 2026 it lists these as supported: the core WebXR Device API, gamepads, hand input, AR sessions, hit testing, plane detection, mesh detection and anchors. Mixed reality works because the extension ships simulated rooms, called synthetic environments. They stand in for the real room that a headset would scan.

Two things are not supported: lighting estimation and DOM overlays. WebXR Layers work only with a separate polyfill.

The extension does not run in Firefox or Safari. For those browsers, add IWER to the page yourself.

IWER: the emulator inside your app

Adding the runtime to your own code has two advantages. It works in every modern browser. And everyone on the team gets the same setup with nothing to install.

Install two packages. iwer is the runtime. @iwer/devui is the on-screen control panel.

npm install iwer @iwer/devui

Then create a device and install the runtime. This must run before your renderer or framework checks for WebXR support. The snippet uses await at the top level, so it must be in a JavaScript module.

import { XRDevice, metaQuest3 } from 'iwer'
import { DevUI } from '@iwer/devui'

const hasNativeVR = navigator.xr
  ? await navigator.xr.isSessionSupported('immersive-vr')
  : false

if (!hasNativeVR) {
  const xrDevice = new XRDevice(metaQuest3)
  xrDevice.installRuntime()
  xrDevice.installDevUI(DevUI)
}

The check at the top matters. The IWER docs say to check for native WebXR first, for example in the Meta Quest Browser. Otherwise the runtime overrides the real implementation.

By default IWER puts the headset 1.6 meters above the floor. It shows the left eye's view only. Set xrDevice.stereoEnabled = true to see both eyes side by side.

You can also drive the device from code. xrDevice.position.set(0, 1.8, 0) moves the head. xrDevice.controllers['left'].position.set(-0.3, 1.5, -0.3) moves a controller. That makes scripted tests possible: move the hand to a button, press the trigger, then check what your app did.

The extension's store page also lists an optional local bridge. It lets coding agents and automation tools inspect and drive the emulator. The IWER repository publishes it as the @iwer/extension-bridge package.

Frameworks with an emulator built in

React Three Fiber. The @react-three/xr package includes IWER and its control panel. The emulator loads by itself when the page runs on localhost and the browser has no WebXR support. If it does not load, press Windows or Command, plus Alt or Option, plus E. The default device is a Meta Quest 3. You change it with the emulate option of createXRStore, or pass false to turn it off. The React Three Fiber VR tutorial walks through a full project.

One conflict: the XR package's docs say version 1 of the IWE extension blocks the built-in emulator. If you still have version 1, update it or turn it off. Those docs also still describe the emulator as experimental.

IWSDK. Meta's Immersive Web SDK injects IWER through its Vite development plugin, @iwsdk/vite-plugin-dev. You run npm run dev and open the local URL it prints. Generated projects set the device profile in iwsdk.config.json. Meta's guide, updated September 4, 2026, lists the default controls:

  • The Play mode button locks the pointer, and the mouse then looks around. Escape leaves play mode.
  • W, A, S and D drive the left thumbstick. The arrow keys drive the right thumbstick.
  • Left Shift held with W, A, S and D moves the headset.
  • In play mode, the left mouse button is the right controller's trigger. The right mouse button is its grip.

Babylon.js, three.js and A-Frame. None of the three ships its own emulator. Use the extension, or add IWER to the page. The Babylon.js docs recommend Meta's extension. They say Mozilla's older WebXR Emulator extension "has not been updated for quite some time".

Apple's simulator for Vision Pro

The visionOS Simulator is a different kind of tool. It does not fake the WebXR API. It runs the real visionOS Safari inside a simulated headset on your Mac. You are testing Apple's actual WebXR implementation.

To set it up, install Xcode from the Mac App Store and add the visionOS SDK. Open the Simulator app and start a visionOS device. With your page open in Safari on the Mac, choose Develop, then Open Page With, then Apple Vision Pro.

Safari 18 on visionOS 2 added immersive-vr sessions, which are full VR sessions. WebKit says the Vision Pro's look and pinch input, called transient-pointer, works in the simulator. That input model differs from Quest controllers. If you want Vision Pro users, test it here.

One caveat: WebKit's setup guide dates from March 2024 and visionOS 1.1. At that time WebXR was behind a feature flag under Settings, Apps, Safari, Advanced, Feature Flags. If the page reports no WebXR support in your simulator, check that screen. More detail is in the guide to WebXR on Apple Vision Pro.

What an emulator cannot tell you

  • Comfort. A flat window cannot make you sick. A headset can. Camera motion that looks fine on a monitor can be unpleasant in VR.
  • Scale. On a screen you cannot feel whether a table is at hip height or a door is 3 meters tall.
  • Performance. The emulator renders with your computer's graphics card. A Quest has a mobile chip and renders a separate view for each eye. A scene that runs well on a laptop can stutter in the headset. See WebXR performance on Meta Quest.
  • Real input. Mouse-driven hands do not shake, drift or lose tracking. Real hands and controllers do.
  • Reach and ergonomics. You cannot tell whether a button is too far away or a menu is too low to read.
  • Browser quirks. The emulator runs in desktop Chrome. Your users run the Meta Quest Browser or Safari on visionOS. Permission prompts, audio rules and memory limits can differ.

A workable split: do daily development in the emulator. Then test in a headset before every release, and after any change to movement, scale or heavy graphics.

Testing on a real Quest when you can borrow one

Over Wi-Fi. Put the headset and the computer on the same network. WebXR only works on secure pages, so your dev server needs HTTPS. The @react-three/xr docs recommend the Vite plugin @vitejs/plugin-basic-ssl for this. Start the server with vite --host. Vite prints a network address such as https://192.168.0.43:5173. Type it into the headset's browser. Accept the certificate warning. It appears because the certificate is self-signed.

Over USB. Meta's debugging guide (updated July 22, 2026) requires developer mode on the headset and Android Platform Tools on the computer. Platform Tools include adb, a command-line tool that talks to Android devices. Developer mode is covered in how to sideload apps on Meta Quest. Connect the cable and run adb devices. The headset should be listed with the status device. Then map your server's port:

adb reverse tcp:8080 tcp:8080

Replace 8080 with your server's port. Now localhost:8080 in the headset's browser reaches your computer. Google's WebXR documentation accepts pages requested through localhost as well as HTTPS pages, so this route should work without a certificate. Meta's guide only says to use the scheme your server requires.

Remote debugging. With the cable connected, open chrome://inspect/#devices in Chrome on the computer. Find the headset and the tab, then click "inspect". You get full Chrome DevTools for the page running in the headset: console, network and performance.

Hosted builders. If you build with a hosted tool, the local server step goes away. Turbl is one example. It builds a WebXR project from a text description and serves it at an HTTPS link. You open the link in the Meta Quest Browser. The limits: it is an AI builder for its own projects, not a host for code you wrote, and seeing the result in VR still takes a headset.

FAQ

Can I test WebXR in Chrome without a VR headset?

Yes. Install Meta's Immersive Web Emulator from the Chrome Web Store, open your page and click the extension's toolbar button. The page reloads with a simulated Meta Quest, and your "Enter VR" button works.

Is there a WebXR emulator for Firefox or Safari?

Meta's extension supports only Chromium browsers such as Chrome and Edge. For Firefox or Safari, add the IWER library to your own page. It runs in any modern browser. On a Mac you can also use Apple's visionOS Simulator.

Can I test WebXR mixed reality without a headset?

Yes, partly. The Immersive Web Emulator supports AR sessions, hit testing, plane detection, mesh detection and anchors. It uses simulated rooms in place of a camera. It does not support lighting estimation or DOM overlays, as of November 2026.

Can I test WebXR hand tracking in an emulator?

Yes. The Immersive Web Emulator and IWER simulate hands, hand poses and pinch input. You can switch between controllers and hands in the overlay. They do not reproduce the tracking loss and jitter of real hands.

Does the Android Emulator support WebXR?

No. Google's ARCore documentation says the Android Emulator is not yet supported by WebXR. To test WebXR AR on Android, you need a real ARCore-supported phone.

Do I still need a real headset before I publish?

Yes. An emulator confirms that your code runs and your input logic works. It cannot show comfort, scale or headset frame rate. Test on the device your players use before you share the link.

Sources

Keep reading