Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mersocarlin/puppeteer
Run headless Chrome Node.js tests in a Docker container
https://github.com/mersocarlin/puppeteer
automated-testing docker docker-image dockerfile puppeteer
Last synced: 1 day ago
JSON representation
Run headless Chrome Node.js tests in a Docker container
- Host: GitHub
- URL: https://github.com/mersocarlin/puppeteer
- Owner: mersocarlin
- Created: 2020-01-02T12:22:46.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T04:26:16.000Z (almost 2 years ago)
- Last Synced: 2024-04-24T10:07:09.824Z (8 months ago)
- Topics: automated-testing, docker, docker-image, dockerfile, puppeteer
- Language: Dockerfile
- Size: 788 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mersocarlin/puppeteer
## ⭐ Features
✅ Run headless Chrome Node.js tests in a Docker container.
## 📖 How to
In `Dockerfile` file:
```
FROM mersocarlin/puppeteer# create app directory in container
RUN mkdir -p /app# set /app directory as default working directory
WORKDIR /app# copy package.json, yarn.lock (or package-lock.json) and install dependencies
ADD package.json yarn.lock /app/RUN yarn --pure-lockfile
COPY . /app/
CMD [ "yarn", "test" ]
```For more information, please refer to the [examples](examples) folder.