chromedp is one of the most popular libraries available for Go which controls the Chrome Devtools Protocol.
We have emulated the examples they provide using our own library so you can compare which one you prefer.
Occasionally, some of these examples may break if the Rod API gets updated or if the specific websites these examples use get updated.
We suggest you create an issue.
You can build and run these examples in the usual Go way:
# retrieve examples
$ go get -u -d github.com/go-rod/rod/
# run example <prog>
$ go run $GOPATH/src/github.com/go-rod/rod/lib/examples/compare-chromedp/<prog>/main.go
# build example <prog>
$ go build -o <prog> github.com/go-rod/rod/lib/examples/compare-chromedp/<prog>/ && ./<prog>