It seems this is possible using Chrome DevTools Remote Debugging if you have developer mode enabled on your headset.
You can find the official documentation on the Oculus developer website.
Once developer mode is enabled, plug your headset into your computer with the USB-C cable.
While the headset is connected to your computer:
- Open Google Chrome on the computer
- Access the special
chrome://inspect/#devices
URL
- Locate the headset under the 'Remote Target' heading
- Click 'inspect' on the page you want to interact with
There seems to be an 'inspect' option for each 'tab' open within the headset web browser:

From there, you have access to the browser window like you normally would with DevTools, so can access things from the JavaScript console like the URL, or to manipulate fields:

As far as doing this programatically, the DevTools protocol is documented, and there are many SDK's for it in various languages.
The DevTools protocol docs talk about the DOM Domain (among other things), which seems to give similar features as the above 'inspect' functionality. By using DOM.getDocument
you can get the equivalent of accessing document
from the Chrome DevTools console. This returns a Node object which contains values such as documentURL
.