> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Page

This page documents the `Page` CDP domain supported by Lynx DevTool.



:::warning Experimental reference
This generated reference is still being completed.

- CDP events are not included yet.
- Some Lynx extensions are listed but do not yet have detailed documentation.
- Method descriptions are not automatically verified against the implementation and may be incomplete or inaccurate.

Verify behavior against the implementation and the linked upstream CDP reference before relying on it.
:::

## Overview

- Scope: `instance`
- CDP domain: [Page](https://chromedevtools.github.io/devtools-protocol/tot/Page/)

## Standard Methods

- [Page.enable](https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-enable)
- [Page.getResourceContent](https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-getResourceContent)
- [Page.getResourceTree](https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-getResourceTree)
- [Page.navigate](https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-navigate)
- [Page.reload](https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-reload)
- [Page.screencastFrameAck](https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-screencastFrameAck)
- [Page.startScreencast](https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-startScreencast)
- [Page.stopScreencast](https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-stopScreencast)

## Lynx Extensions

### `Page.canEmulate`

Reports that the Lynx page target supports emulation commands.

- Origin: `lynx-extension`
- Source: `devtool/lynx_devtool/agent/domain_agent/inspector_page_agent_ng.cc`

###### Parameters

No parameters.

###### Returns

| Name     | Type      | Description                                                    |
| -------- | --------- | -------------------------------------------------------------- |
| `result` | `boolean` | Always true when the request is dispatched to the UI executor. |

###### Notes

- Dispatches through LynxDevToolMediator to InspectorUIExecutor on the UI thread.
- The native implementation does not inspect platform state or request params. It returns result.result as true.
- If the mediator has no UI task runner, the current handler does not send an explicit CDP response.

###### Examples

**Check emulation support**

Request:

```json
{
  "id": 1,
  "method": "Page.canEmulate"
}
```

Response:

```json
{
  "id": 1,
  "result": {
    "result": true
  }
}
```

### `Page.canScreencast`

Reports that the Lynx page target supports screencast commands.

- Origin: `lynx-extension`
- Source: `devtool/lynx_devtool/agent/domain_agent/inspector_page_agent_ng.cc`

###### Parameters

No parameters.

###### Returns

| Name     | Type      | Description                                                    |
| -------- | --------- | -------------------------------------------------------------- |
| `result` | `boolean` | Always true when the request is dispatched to the UI executor. |

###### Notes

- Dispatches through LynxDevToolMediator to InspectorUIExecutor on the UI thread.
- The native implementation does not inspect platform state or request params. It returns result.result as true.
- If the mediator has no UI task runner, the current handler does not send an explicit CDP response.

###### Examples

**Check screencast support**

Request:

```json
{
  "id": 1,
  "method": "Page.canScreencast"
}
```

Response:

```json
{
  "id": 1,
  "result": {
    "result": true
  }
}
```

