puppeteer
Advanced tools
Comparing version 1.0.0-next.1516668517979 to 1.0.0-next.1516669982697
# Running the examples | ||
Assuming you have a checkout of the Puppeteer repo and have run yarn (or npm i) to install the dependencies, the examples can be run from the root folder like so: | ||
Assuming you have a checkout of the Puppeteer repo and have run npm i (or yarn) to install the dependencies, the examples can be run from the root folder like so: | ||
@@ -5,0 +5,0 @@ ```sh |
@@ -95,3 +95,3 @@ /** | ||
const revisionInfo = downloader.revisionInfo(downloader.currentPlatform(), ChromiumRevision); | ||
console.assert(revisionInfo.downloaded, `Chromium revision is not downloaded. Run "yarn install" or "npm install"`); | ||
console.assert(revisionInfo.downloaded, `Chromium revision is not downloaded. Run "npm install" or "yarn install"`); | ||
chromeExecutable = revisionInfo.executablePath; | ||
@@ -98,0 +98,0 @@ } |
{ | ||
"name": "puppeteer", | ||
"version": "1.0.0-next.1516668517979", | ||
"version": "1.0.0-next.1516669982697", | ||
"description": "A high-level API to control headless Chrome over the DevTools Protocol", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -35,4 +35,4 @@ # Puppeteer | ||
``` | ||
yarn add puppeteer | ||
# or "npm i puppeteer" | ||
npm i --save puppeteer | ||
# or "yarn add puppeteer" | ||
``` | ||
@@ -135,3 +135,3 @@ | ||
See [`this article`](https://www.howtogeek.com/202825/what%E2%80%99s-the-difference-between-chromium-and-chrome/) for a description | ||
See [`this article`](https://www.howtogeek.com/202825/what%E2%80%99s-the-difference-between-chromium-and-chrome/) for a description | ||
of the differences between Chromium and Chrome. [`This article`](https://chromium.googlesource.com/chromium/src/+/lkcr/docs/chromium_browser_vs_google_chrome.md) describes some differences for Linux users. | ||
@@ -138,0 +138,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
255808