@ddwang/magnitude-core 0.3.1-ddwang.19 → 0.3.1-ddwang.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7462,7 +7462,11 @@ var BrowserProvider = class _BrowserProvider {
|
|
|
7462
7462
|
let activeBrowser;
|
|
7463
7463
|
if (!(hash in this.activeBrowsers)) {
|
|
7464
7464
|
this.logger.trace("Launching new browser");
|
|
7465
|
-
const launchPromise = import_playwright.chromium.launch({
|
|
7465
|
+
const launchPromise = import_playwright.chromium.launch({
|
|
7466
|
+
...DEFAULT_BROWSER_OPTIONS,
|
|
7467
|
+
...options,
|
|
7468
|
+
channel: options.channel ?? DEFAULT_BROWSER_OPTIONS.channel
|
|
7469
|
+
});
|
|
7466
7470
|
activeBrowser = {
|
|
7467
7471
|
browserPromise: launchPromise,
|
|
7468
7472
|
activeContextsCount: 0
|