# Headset Testing - WebXR Emulator

During the creation process of a headset-based experience, testing the workings in a desktop-based environment is often easier. The design principles for headset experience and desktop experiences differ at times due to certain limitations on headsets.&#x20;

There is an easy way to test headset-based experiences on desktop devices.&#x20;

> This is ONLY for testing purposes. Experiences should be tested on headset before final deployment.

## There are 2 ways to setup the development environment

Follow the steps listed here <https://github.com/felixtrz/WebXR-emulator-extension#how-to-install-the-newest-version>

**OR**

Follow the steps listed below:

1. Download the package file from here: <https://s.vrgmetri.com/gb-web/dev/WebXR-emulator-extension.crx>
2. Navigate to chrome://extensions on your browser
3. Enable `Developer Mode` from the top right on your screen
4. Drag-n-Drop the downloaded file on this page
5. In the prompt that appears, click `Add extension` button

   <figure><img src="/files/7jUtyzDBW1ghBB9SWirW" alt=""><figcaption></figcaption></figure>

## How to use WebXR emulator Extension

1. Open developer tools on chrome using shortcut `CTRL/CMD + I`
2. Select `WebXR` option from the tabs
3. Select one of the devices from the dropdown

   <figure><img src="/files/ohJ3JtSb1szF3uNAv1Hp" alt=""><figcaption></figcaption></figure>
4. Click on the Enter VR button from the hamburger menu (on top-right) from the GMetriXR experience and enter VR mode on your desktop&#x20;

   <figure><img src="/files/ZSsvOxiKhNKjG6Z5hMSc" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gmetri.com/metaverse/build/editor/preview/headset-testing-webxr-emulator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
