Coder Social home page Coder Social logo

puppeteer's Introduction

puppeteer

Replay enabled fork of the Puppeteer library.

Overview

This is an alternative to Puppeteer that uses a replay enabled chromium where possible, simplifying installation and versioning when compared with configuring the standard Puppeteer library to use replay browsers directly.

Installation

npm i @recordreplay/puppeteer

Usage

Replace puppeteer with @recordreplay/puppeteer in require/import statements, and this library will be used instead. On supported platforms (see below), replay enabled browsers will be used to make recordings and save them to disk. After running any puppeteer scripts, use the replay-recordings CLI tool to manage and upload the recordings.

Supported Platforms

The replay enabled chromium is currently only supported on linux.

puppeteer's People

Contributors

bhackett1024 avatar ryanjduffy avatar

Stargazers

Ashley D avatar

Watchers

Jason Laster avatar James Cloos avatar  avatar

puppeteer's Issues

Launching chromium often hangs on ubuntu 20

Continuation from #2

I did some testing on our ubuntu 20 box and discovered that our playwright fork is able to consistently record with both FF and chromium but puppeteer consistently crashes when recording.

Both of the following run correctly (climatescape.js is a copy of our playwright-tests example)

PLAYWRIGHT_CHROMIUM=1 PLAYWRIGHT_HEADLESS=1 node ./climatescape.js 
PLAYWRIGHT_HEADLESS=1 node ./climatescape.js 

When I update that script to use puppeteer instead, it hangs when trying to open a new page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.