merge: resolve conflicts and integrate headed mode default
This commit is contained in:
commit
ddff9975e2
@ -55,7 +55,7 @@ const defaultConfig: FullConfig = {
|
||||
browserName: 'chromium',
|
||||
launchOptions: {
|
||||
channel: 'chrome',
|
||||
headless: os.platform() === 'linux' && !process.env.DISPLAY,
|
||||
headless: false,
|
||||
chromiumSandbox: true,
|
||||
},
|
||||
contextOptions: {
|
||||
|
@ -236,7 +236,6 @@ 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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user