chromedp/examples/headless
Kenneth Shaw b5032069e3 Fixing race issues
- Refactored chromedp-gen and cdp code so that Execute no longer returns
  a channel
- Fixing potential race problems in handler
- Eliminated some dead code
- Updated examples to include new logging parameters
2017-02-14 17:15:53 +07:00
..
.gitignore Addition of chromedp-proxy, fixing SendKeys, more 2017-02-07 11:34:35 +07:00
main.go Fixing race issues 2017-02-14 17:15:53 +07:00
README.md Addition of chromedp-proxy, fixing SendKeys, more 2017-02-07 11:34:35 +07:00

About headless

This is a version of the simple example but with the chromedp settings changed to use the docker knqz/chrome-headless image.

Running

# retrieve docker image
docker pull knqz/chrome-headless

# start chrome-headless
docker run -d -p 9222:9222 --rm --name chrome-headless knqz/chrome-headless

# run chromedp headless example
go build && ./headless