For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt, and this page is available as Markdown at /next/zh/api/cdp/api-ref.md.
Lynx
  • 简体中文
  • CDP API 参考

    本页面列出 Lynx DevTool 支持的 Chrome DevTools Protocol 方法。标准 CDP 方法链接至 Chrome DevTools Protocol 参考文档。Lynx 扩展基于 Lynx 源码元数据编写。

    实验性参考

    此生成的参考文档仍在完善中。

    • CDP events 尚未包含。
    • 部分 Lynx 扩展已列出,但尚未提供详细文档。
    • 方法说明尚未根据实现自动校验,可能不完整或不准确。

    在依赖本参考前,请根据实现及所链接的 upstream CDP reference 验证实际行为。

    JavaScript 运行时支持

    本参考中的 runtime-domain 方法由 PrimJS inspector 实现。PrimJS 同时用于 Main-Thread Scripting (MTS) 和 Background-Thread Scripting (BTS)。

    基于 V8 的调试委托给 V8 Inspector。请参阅 V8 CDP 参考文档,了解 Lynx 采用的 V8 Inspector protocol 版本。本参考不单独列出 V8 方法。

    摘要

    类别数量
    标准 CDP 方法101
    Lynx 扩展48

    Domain 概览

    Domain作用域标准Lynx 扩展
    Componentglobal-and-instance01
    CSSinstance151
    Debuggerinstance191
    DOMinstance245
    HeapProfilerinstance10
    Inputinstance20
    Inspectorinstance11
    IOglobal-and-instance20
    LayerTreeinstance30
    Loginstance30
    Lynxinstance010
    Memoryglobal-and-instance03
    Overlayinstance20
    Pageinstance82
    Performanceinstance22
    Profilerinstance50
    Recordingglobal-and-instance02
    Replayglobal-and-instance02
    Runtimeinstance110
    SystemInfoglobal-and-instance10
    Templateinstance04
    Tracingglobal-and-instance23
    UITreeinstance05
    WhiteBoardinstance06
    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。