https://github.com/ttibensky/example-chromeless
An example implementation of https://github.com/graphcool/chromeless
https://github.com/ttibensky/example-chromeless
chrome chromeless chromium headless-chrome node nodejs
Last synced: 2 months ago
JSON representation
An example implementation of https://github.com/graphcool/chromeless
- Host: GitHub
- URL: https://github.com/ttibensky/example-chromeless
- Owner: ttibensky
- Created: 2018-03-03T07:59:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-06T19:25:56.000Z (over 8 years ago)
- Last Synced: 2025-03-25T06:33:17.814Z (about 1 year ago)
- Topics: chrome, chromeless, chromium, headless-chrome, node, nodejs
- Language: JavaScript
- Size: 13.7 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example chromeless node.js app
An example implementation of https://github.com/graphcool/chromeless
```bash
docker build . -t ttibensky/example-chromeless
docker run -it --user root ttibensky/example-chromeless /usr/bin/chromium-browser --headless --no-sandbox --remote-debugging-port=9222 --disable-gpu & npm install && node app-screenshot.js
docker run -it --user root ttibensky/example-chromeless /usr/bin/chromium-browser --headless --no-sandbox --remote-debugging-port=9222 --disable-gpu & npm install && node app-screenshot-full-page.js
docker run -it --user root ttibensky/example-chromeless /usr/bin/chromium-browser --headless --no-sandbox --remote-debugging-port=9222 --disable-gpu & npm install && node app-test-error.js
docker run -it --user root ttibensky/example-chromeless /usr/bin/chromium-browser --headless --no-sandbox --remote-debugging-port=9222 --disable-gpu & npm install && node app-test-success.js
```