Geebarwan
V2EX  ›  问与答

请教一个 selenium 关于调用 devtools-protocol 的问题。

  •  
  •   Geebarwan · Oct 28, 2020 · 716 views
    This topic created in 2035 days ago, the information mentioned may be changed or developed.

    我用的是 Python, 在 selenium 里可用使用 driver 对象里的 execute_cdp_cmd 方法去调用 Chrome DevTools Protocol 提供的一些列方法,例如 “Browser.getVersion”。但是我想监听 ``Chrome DevTools Protocol` 提供的 Event 事件应该怎么去监听呢?例如:“Network.dataReceived”。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3115 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 00:29 · PVG 08:29 · LAX 17:29 · JFK 20:29
    ♥ Do have faith in what you're doing.