2020-01-07 05:22:35 +03:00
|
|
|
/**
|
|
|
|
* Copyright (c) Microsoft Corporation.
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
2019-12-05 22:29:16 +03:00
|
|
|
|
2020-04-29 03:06:01 +03:00
|
|
|
const { Playwright } = require('./lib/server/playwright');
|
2020-05-12 04:00:33 +03:00
|
|
|
const { Electron } = require('./lib/server/electron');
|
2020-05-11 19:38:09 +03:00
|
|
|
const path = require('path');
|
2019-12-21 02:31:20 +03:00
|
|
|
|
2020-05-21 23:18:15 +03:00
|
|
|
const playwright = new Playwright(__dirname, require(path.join(__dirname, 'browsers.json'))['browsers']);
|
2020-05-12 04:00:33 +03:00
|
|
|
playwright.electron = new Electron();
|
|
|
|
module.exports = playwright;
|