diff --git a/README.md b/README.md index c87be38..a5fc01a 100644 --- a/README.md +++ b/README.md @@ -66,12 +66,7 @@ $ npm install puppeteer --save-dev ```js // karma.conf.js - -const ChromiumRevision = require('puppeteer/package.json').puppeteer.chromium_revision -const Downloader = require('puppeteer/utils/ChromiumDownloader') -const revisionInfo = Downloader.revisionInfo(Downloader.currentPlatform(), ChromiumRevision) - -process.env.CHROME_BIN = revisionInfo.executablePath +process.env.CHROME_BIN = require('puppeteer').executablePath() module.exports = function(config) { config.set({