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

https://github.com/beemi/puppeteer-headful

Puppeteer Headful Docker Image & GitHub Action container
https://github.com/beemi/puppeteer-headful

continuous-integration docker github-actions puppeteer

Last synced: 10 months ago
JSON representation

Puppeteer Headful Docker Image & GitHub Action container

Awesome Lists containing this project

README

          


Aimeos logo

# Puppeteer Headful GitHub Action Container

This repository contains the [puppeteer](https://developers.google.com/web/tools/puppeteer) Headful docker image, Container is available to [GitHub Actions](https://github.com/marketplace/actions/puppeteer-headful-github-action).

## Usage
```
on:
pull_request:
branches:
- dev
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Build project
uses: actions/setup-node@v1
env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 'true'
with:
args: install
- name: Smoke tests
uses: beemi/puppeteer-headful@master
env:
CI: 'true'
DISPLAY: :99
with:
args: npm test

```

Puppeteer Browser launch configuration.

```
browser = await puppeteer.launch({
args: ['--no-sandbox','--disable-setuid-sandbox','--font-render-hinting=none'],
executablePath: process.env.PUPPETEER_EXEC_PATH, // set by docker container
headless: false,
...
});

```
# contact
[beemi.raja@gmail.com](beemi.raja@gmail.com)