Skip to content

Commit

Permalink
feat(electron): experimental electron support (#2166)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelfeldman committed May 12, 2020
1 parent a2bee2c commit ffe7084
Show file tree
Hide file tree
Showing 13 changed files with 1,028 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index-for-dev.js
Expand Up @@ -15,7 +15,10 @@
*/

const { Playwright } = require('./lib/server/playwright');
const { Electron } = require('./lib/server/electron');
const path = require('path');

const playwrightRoot = path.join(__dirname, 'packages', 'playwright');
module.exports = new Playwright(playwrightRoot, require(path.join(playwrightRoot, 'browsers.json'))['browsers']);
const playwright = new Playwright(playwrightRoot, require(path.join(playwrightRoot, 'browsers.json'))['browsers']);
playwright.electron = new Electron();
module.exports = playwright;

0 comments on commit ffe7084

Please sign in to comment.