Package cdp provides type-safe bindings for the Chrome DevTools Protocol (CDP), written in the Go programming language.
If you're wondering what happened to v0.27.0, it was tagged incorrectly, deleted and no longer allowed to play.
It's been a long time since publishing release notes. Not a whole lot has changed except for the addition of a new session
package and updated protocol definitions.
There is one backwards-incompatible change, the page.ResourceType
(or protocol.PageResourceType
) no longer exists as it was moved to the network
domain (by Chrome).
So, what's new since last published release?
session
package for managing multiple tabs via a single websocket connectioncdp.Sync
which did not accept event clients due to the wrong type being handed to rpcc.Sync
(84242e9a08b593eba9555d6c575d812fd57c6c44, f6e0e4bd74d660d4fca384e5a637e2256ff5806c, 95bf065037f2d6ebf7fe59e15361d1e3f4c4ff9e)Target
domain now use json.RawMessage
instead of string
since byte-slices are a better fit for Go (and causes less copying)json.RawMessage
instead of string