Closed akavenus closed 3 years ago
@akavenus does that show up if you run headless? Or just when headed?
@blakebyrnes I'm also getting (multiple) blank command lines in both headed & headless.
For me it happens on both
Full code
const { Agent } = require('secret-agent') async function start(){ process.env.SA_SHOW_BROWSER = 'true'; process.env.SA_DISABLE_DEVTOOLS=1 const agent = await new Agent({ viewport: { width: 400, height: 800, screenWidth: 500, screenHeight: 900 } }); await agent.goto('https://www.target.com/bia'); } start() module.exports.start = start
Just chiming in to say I also see the empty black command window labeled chrome popping up on Windows.
@akavenus @A-Posthuman @nlile I'm assuming no one sees this using puppeteer or playwright?
Yes, I do not see this on puppeter. As for playwright I can't comment as I dont use that
Yes, I do not see this on puppeter. As for playwright I can't comment as I dont use that
Gotcha covered, I don't see this on playwright, haven't tried puppeteer.
This is being triggered by the "--enable-logging" Chromium launch argument. Will fix, but in interim, you can filter out using a plugin that overrides onBrowserWillLaunch
and removes this argument. (https://secretagent.dev/docs/plugins/core-plugins)
Is there anyway to prevent this blank command line from opening while using secret agent?