From 5d281969037d915ce859c1238bfe5b29817a941e Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Fri, 17 Jan 2020 19:41:05 -0800 Subject: [PATCH] fix(devices): restore devices entry point --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 4d8e9ca4a4..1d04bd9e0c 100644 --- a/index.js +++ b/index.js @@ -17,6 +17,7 @@ const {helper} = require('./lib/helper'); const api = require('./lib/api'); const packageJson = require('./package.json'); +const { DeviceDescriptors } = require('./lib/deviceDescriptors'); for (const className in api) { if (typeof api[className] === 'function') @@ -27,4 +28,5 @@ module.exports = { chromium: new api.ChromiumPlaywright(__dirname, packageJson.playwright.chromium_revision), firefox: new api.FirefoxPlaywright(__dirname, packageJson.playwright.firefox_revision), webkit: new api.WebKitPlaywright(__dirname, packageJson.playwright.webkit_revision), + devices: DeviceDescriptors };