chromedp/examples/headless/README.md
Kenneth Shaw 4145d8367d Addition of chromedp-proxy, fixing SendKeys, more
- Adding chromedp-proxy command to help record chrome sessions
- Changing the headless writeup to point to the knq chrome-headless
  docker image
- Fixing issues with SendKeys action (should correctly work for all
  well known keys)
- Updated to latest Chrome protocol.json and re-generated API
- Other minor fixes
2017-02-07 11:34:35 +07:00

18 lines
430 B
Markdown

# About headless
This is a version of the simple example but with the chromedp settings changed
to use the docker [knqz/chrome-headless](https://hub.docker.com/r/knqz/chrome-headless/) image.
## Running
```sh
# 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
```