merge: resolve conflicts and integrate headed mode default
This commit is contained in:
commit
ddff9975e2
@ -55,7 +55,7 @@ const defaultConfig: FullConfig = {
|
|||||||
browserName: 'chromium',
|
browserName: 'chromium',
|
||||||
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