V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Geebarwan
V2EX  ›  问与答

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

  •  
  •   Geebarwan · Oct 28, 2020 · 662 views
    This topic created in 2013 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   ·   2472 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 07:34 · PVG 15:34 · LAX 00:34 · JFK 03:34
    ♥ Do have faith in what you're doing.