Compare commits

..

No commits in common. "4d13e72213a9ec9666ec31c32f3a7fa2168b6bff" and "5b7a1e0452f5c84d1910317ffae917f1c36651e7" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -53,10 +53,9 @@ export type CLIOptions = {
const defaultConfig: FullConfig = { const defaultConfig: FullConfig = {
browser: { browser: {
browserName: 'chromium', browserName: 'chromium',
isolated: true,
launchOptions: { launchOptions: {
channel: 'chrome', channel: 'chrome',
headless: false, headless: os.platform() === 'linux' && !process.env.DISPLAY,
chromiumSandbox: true, chromiumSandbox: true,
}, },
contextOptions: { contextOptions: {

View File

@ -236,6 +236,7 @@ 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) {