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 = {
browser: {
browserName: 'chromium',
isolated: true,
launchOptions: {
channel: 'chrome',
headless: false,
headless: os.platform() === 'linux' && !process.env.DISPLAY,
chromiumSandbox: true,
},
contextOptions: {

View File

@ -236,6 +236,7 @@ export class Context {
private async _setupBrowserContext(): Promise<{ browserContext: playwright.BrowserContext, close: () => Promise<void> }> {
if (this._closeBrowserContextPromise)
throw new Error('Another browser context is being closed.');
let result: { browserContext: playwright.BrowserContext, close: () => Promise<void> };
if (this._videoRecordingConfig) {