Hi
I am working with Playwright and sample script when executed, i found Playwright launches two instances of chromium
1 in incognito and other is normal
can someone help me on this
below is my conf
const { setHeadlessWhen,setWindowSize } = require('@codeceptjs/configure');
// turn on headless mode when running with HEADLESS=true environment variable
// HEADLESS=true npx codecept run
setHeadlessWhen(process.env.HEADLESS);
exports.config = {
tests: './tests/*_test.js',
timeout: 10000,
output: './output',
helpers: {
Playwright: {
url: '',
show: true,
browser: 'chromium',
windowSize: '1900x1200',
waitForNavigation: [ "domcontentloaded", "networkidle0" ]
}
},
include: {
I: './steps_file.js'
},
bootstrap: null,
mocha: {},
name: 'Demo_Playwright',
plugins: {
retryFailedStep: {
enabled: true
},
screenshotOnFail: {
enabled: true
},
allure: {
enabled: true
}
}
}