> For the complete documentation index, see [llms.txt](https://docs.gmetri.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gmetri.com/metaverse/build/editor/preview/headset-testing-webxr-emulator.md).

# Headset Testing - WebXR Emulator

Testing experiences designed for Headsets in Desktop Browsers using 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="https://2186043722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgll1jjQMRTVj7p6n7g%2Fuploads%2FWje5D3J9QKxSfOMFPulb%2FScreenshot%20from%202023-03-20%2020-38-42.png?alt=media&amp;token=5dfdf1cc-a6ab-4e60-ba9d-53737c8c53c7" 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="https://2186043722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgll1jjQMRTVj7p6n7g%2Fuploads%2F7oMIGyxXx7hDP9kWG2ec%2FScreenshot%20from%202023-03-20%2020-41-08.png?alt=media&amp;token=ea60a65e-39ed-475d-8443-ccb7c81da8ef" 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="https://2186043722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgll1jjQMRTVj7p6n7g%2Fuploads%2FJFYF4gR6uJf4NKKl4Xkp%2FScreenshot%20from%202023-03-20%2020-44-41.png?alt=media&amp;token=ca86042d-ce91-4f65-9a38-729b50878735" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
