question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Removing infobars not working in Chromium or Chrome v64

See original GitHub issue

Steps to reproduce

Tell us about your environment:

  • Puppeteer version: 5.6.0
  • Platform / OS version: Windows 10
  • Node.js version: v8.9.3
  • Chrome version: {Beta} 64.0.3282.71

What steps will reproduce the problem?

puppeteer.launch(options = {
     args: ['--disable-infobars']
});
// ^ Not working.

Setting viewport for page only resizes that page within the chrome tab, but not the chrome window itself (which is intended)

Though according to the documentation… https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md ^ Look at puppeteer launch options ^ notice the args section ^ takes you to --> https://peter.sh/experiments/chromium-command-line-switches/

which lists the argument as listed in the code above, yet is not working.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:21 (2 by maintainers)

github_iconTop GitHub Comments

24reactions
Lugribosskcommented, Aug 27, 2019

Adding ignoreDefaultArgs: ["--enable-automation"] to the options in puppeteer.launch({...}) will remove the “Chrome is being controlled by automated test software” infobar.

4reactions
derappeltcommented, Jul 3, 2019

It’s not working again…

Read more comments on GitHub >

github_iconTop Results From Across the Web

826578 - Remove --disable-infobars - chromium - Monorail
--disable-infobars can be maliciously misused and should be removed. Before removing it, we must implement bug 818483.
Read more >
c# - Unable to hide "Chrome is being controlled by automated ...
Chromium team earlier introduced the infobar Chrome is being controlled by automated test software to disable Developer mode extension popup ...
Read more >
How to disable infobar from Chrome - SQA Stack Exchange
Disabling infobars is not supported anymore by Chromium. According to them,. Remove --disable-infobars. This flag is no longer needed by the ...
Read more >
Google Chrome version history - Wikipedia
Google Chrome is a freeware web browser developed by Google LLC. The development process is split into different "release channels", each working on...
Read more >
Changes - metacpan.org
Fix for GH #55 , ->decoded_content() does not work for HTML content. * Test stability fixes, adapt tests to Chrome 88. * Remove...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found