Skip to content

Puppeteer Headful GitHub Action

Actions
Puppeteer Headful Container to GitHub Action
v1.0.12
Latest
Star (11)
Aimeos logo

Puppeteer Headful GitHub Action Container

This repository contains the puppeteer Headful docker image, Container is available to GitHub Actions.

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

Puppeteer Headful GitHub Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Puppeteer Headful Container to GitHub Action
v1.0.12
Latest

Puppeteer Headful GitHub Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.