An open API service indexing awesome lists of open source software.

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

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
```