Skip to content

Some real world examples of using github.com/mafredri/cdp for browser automation

License

Notifications You must be signed in to change notification settings

dkoston/cdp-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdp-examples

CircleCI

Some real world examples of using github.com/mafredri/cdp for browser automation

Development

Pre-requisites

  • go 1.12+
  1. Install dependencies with go get -u
  2. Run ./bin/git/init-hooks.bash to enable hooks for gofmt and golint

Testing

go test -v -race ./...

Examples

Get Cookies

Get the cookies from Chrome for a specific domain:

go run cmd/examples/main.go getcookies -d=domain

Get all cookies from Chrome:

go run cmd/examples/main.go getcookies

Related source: ./src/cookies

About

Some real world examples of using github.com/mafredri/cdp for browser automation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published