Skip to content

Commit

Permalink
pending-xhr-puppeteer is working on npm 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
jtassin committed May 16, 2018
1 parent 18c371b commit 84d5f5f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Pending XHR Puppeteer

[![npm version](https://badge.fury.io/js/puppeteer-pending-xhr.svg)](https://badge.fury.io/js/puppeteer-pending-xhr)
[![npm version](https://badge.fury.io/js/pending-xhr-puppeteer.svg)](https://badge.fury.io/js/pending-xhr-puppeteer)
[![Build Status](https://travis-ci.org/jtassin/pending-xhr-puppeteer.svg?branch=master)](https://travis-ci.org/jtassin/pending-xhr-puppeteer)

<p align="center">
Expand All @@ -19,13 +19,13 @@ Pending XHR Puppeteer is a tool that detect when there is xhr requests not yet f
To install with yarn :

```bash
yarn add puppeteer-pending-xhr -D
yarn add pending-xhr-puppeteer -D
```

To install with npm :

```bash
npm install puppeteer-pending-xhr --save-dev
npm install pending-xhr-puppeteer --save-dev
```

## Usage
Expand All @@ -34,7 +34,7 @@ npm install puppeteer-pending-xhr --save-dev

```javascript
const puppeteer = require('puppeteer');
const { PendingXHR } = require('puppeteer-pending-xhr');
const { PendingXHR } = require('pending-xhr-puppeteer');

const browser = await puppeteer.launch({
headless: true,
Expand All @@ -53,7 +53,7 @@ await pendingXHR.waitForAllXhrFinished();

```javascript
const puppeteer = require('puppeteer');
const { PendingXHR } = require('puppeteer-pending-xhr');
const { PendingXHR } = require('pending-xhr-puppeteer');

const browser = await puppeteer.launch({
headless: true,
Expand Down

0 comments on commit 84d5f5f

Please sign in to comment.