Page
This page documents the Page CDP domain supported by Lynx DevTool.
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
Standard Methods
- Page.enable
- Page.getResourceContent
- Page.getResourceTree
- Page.navigate
- Page.reload
- Page.screencastFrameAck
- Page.startScreencast
- Page.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
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:
Response:
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
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:
Response: