https://github.com/progfay/cdp-template
Template Repository with Chrome DevTools Protocol
https://github.com/progfay/cdp-template
Last synced: 3 months ago
JSON representation
Template Repository with Chrome DevTools Protocol
- Host: GitHub
- URL: https://github.com/progfay/cdp-template
- Owner: progfay
- License: mit
- Created: 2020-12-07T13:30:38.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-18T14:55:58.000Z (over 4 years ago)
- Last Synced: 2025-01-30T20:16:16.885Z (5 months ago)
- Language: JavaScript
- Size: 138 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cdp-template
Template Repository with Chrome DevTools Protocol
## Usage
### with docker-compose
Run headless-chrome and Node.js at the same time:
```sh
docker-compose up --build
```Run only headless-chrome in background:
```sh
docker-compose up -d chrome
```Run Node.js with build before executing:
```sh
docker-compose up --build node
```### with Local Environment
1. Run only headless-chrome in background
2. Execute built Javascript code```sh
docker-compose up -d chrome
npm start
```