{"repo":"mafredri/cdp","free":true,"listed":false,"github":"https://github.com/mafredri/cdp","clone":"git clone https://github.com/mafredri/cdp.git","description":"Package cdp provides type-safe bindings for the Chrome DevTools Protocol (CDP), written in the Go programming language.","language":"Go","stars":795,"topics":["devtools-protocol","chrome-devtools-protocol","chrome-debugging-protocol","cdp","rpc","debugging"],"license":"MIT","category":"dev-tools","readme_excerpt":"cdp [![Coverage Status][codecov-badge]][codecov] [![Go Report Card][goreportcard-badge]][goreportcard] [![GoDoc][gopkg-badge]][gopkg] Package cdp provides type-safe bindings for the [Chrome DevTools Protocol][chrome-devtools-protocol] (CDP), written in the Go programming language. The bindings are generated (by [cdpgen][cdpgen]) from the latest [tip-of-tree (tot)][tip-of-tree] protocol definitions and are mainly intended for use with Google Chrome or Chromium, however, they can be used with any debug target ([Node.js][node-debugging], [Edge DevTools Protocol][edge-devtools-protocol], [Safari][ios-webkit-debug-proxy], etc.) that implement the protocol. This package can be used for any kind of browser automation, scripting or debugging via the Chrome DevTools Protocol. A big motivation for cdp is to expose the full functionality of the Chrome DevTools Protocol and provide it in a discoverable and self-documenting manner. Providing high-level browser automation is a non-goal for this project. That being said, cdp hopes to improve the ergonomics of working with the protocol by providing primitives better suited for Go and automating repetitive tasks. Features Discoverable API for the Chrome DevTools Protocol (GoDoc, autocomplete friendly) Contexts as a first-class citizen (for timeouts and cancellation) Simple and synchronous event handling (no callbacks) Concurrently safe No silent or hidden errors Do what the user expects Match CDP types to Go types wherever possible Separation","default_branch":null,"files":null,"tree":[],"storefront":"/r/mafredri","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mafredri/cdp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}