Compare commits
4 Commits
5b7a1e0452
...
4d13e72213
Author | SHA1 | Date | |
---|---|---|---|
4d13e72213 | |||
ddff9975e2 | |||
543701d452 | |||
d1100bac8a |
@ -53,9 +53,10 @@ export type CLIOptions = {
|
|||||||
const defaultConfig: FullConfig = {
|
const defaultConfig: FullConfig = {
|
||||||
browser: {
|
browser: {
|
||||||
browserName: 'chromium',
|
browserName: 'chromium',
|
||||||
|
isolated: true,
|
||||||
launchOptions: {
|
launchOptions: {
|
||||||
channel: 'chrome',
|
channel: 'chrome',
|
||||||
headless: os.platform() === 'linux' && !process.env.DISPLAY,
|
headless: false,
|
||||||
chromiumSandbox: true,
|
chromiumSandbox: true,
|
||||||
},
|
},
|
||||||
contextOptions: {
|
contextOptions: {
|
||||||
|
@ -236,7 +236,6 @@ export class Context {
|
|||||||
private async _setupBrowserContext(): Promise<{ browserContext: playwright.BrowserContext, close: () => Promise<void> }> {
|
private async _setupBrowserContext(): Promise<{ browserContext: playwright.BrowserContext, close: () => Promise<void> }> {
|
||||||
if (this._closeBrowserContextPromise)
|
if (this._closeBrowserContextPromise)
|
||||||
throw new Error('Another browser context is being closed.');
|
throw new Error('Another browser context is being closed.');
|
||||||
|
|
||||||
let result: { browserContext: playwright.BrowserContext, close: () => Promise<void> };
|
let result: { browserContext: playwright.BrowserContext, close: () => Promise<void> };
|
||||||
|
|
||||||
if (this._videoRecordingConfig) {
|
if (this._videoRecordingConfig) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user