playwright-chromium
Advanced tools
Comparing version
13
index.js
@@ -17,7 +17,8 @@ /** | ||
module.exports = { | ||
...require('playwright-core'), | ||
// Keep exporting Chromium and nullify other browsers. | ||
webkit: undefined, | ||
firefox: undefined, | ||
} | ||
const {Playwright} = require('playwright-core/lib/server/playwright.js'); | ||
module.exports = new Playwright({ | ||
downloadPath: __dirname, | ||
browsers: ['chromium'], | ||
}); | ||
{ | ||
"name": "playwright-chromium", | ||
"version": "0.11.0", | ||
"version": "0.11.1-next.1582931937842", | ||
"description": "A high-level API to automate Chromium", | ||
@@ -15,4 +15,4 @@ "repository": "github:Microsoft/playwright", | ||
"dependencies": { | ||
"playwright-core": "=0.11.0" | ||
"playwright-core": "=0.11.1-next.1582931937842" | ||
} | ||
} |
2039
2.57%37
-2.63%