4145d8367d
- 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
18 lines
430 B
Markdown
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
|
|
```
|