At startup chrome open 2 about:blank tabs
See original GitHub issueWindows: 10 x64 Node: v10.15.0 Chrome: 75.0.3770.142
When lauching llike this:
// https://github.com/GoogleChrome/chrome-launcher#launch-options
const opts = {
port: 1111,
logLevel: 'info',
// logLevel: 'silent',
output: 'json',
disableDeviceEmulation: true,
defaultViewport: {
width: 1200,
height: 900,
},
chromeFlags: [
// https://github.com/GoogleChrome/chrome-launcher/blob/master/docs/chrome-flags-for-tools.md
// '--headless',
'--disable-mobile-emulation',
'--no-sandbox',
'--show-paint-rects',
'--disable-extensions',
'--disable-background-networking',
'--disable-sync',
'--disable-default-apps',
'--mute-audio',
'--no-first-run',
'--enable-automation',
],
};
const chromeBrowser = await chromeLauncher.launch(opts);
I get the following:
ChromeLauncher No debugging port found on port 1111, launching a new Chrome. +0ms
ChromeLauncher Waiting for browser. +12ms
ChromeLauncher Waiting for browser... +3ms
ChromeLauncher Waiting for browser...√ +503ms
And a chrome window opens with two about:blank
tabs
Issue Analytics
- State:
- Created 4 years ago
- Comments:16
Top Results From Across the Web
Stop Chrome opening two tabs when it starts - RAWinfopages
Here is a pic of the problem on my PC. There is an about:blank tab: Chrome opens tabs. The cause is either in...
Read more >Fix: Chrome browser opens two tabs - Appuals.com
Method 1: Changing the startup settings of Chrome · Open Google Chrome, click the action icon (three dot icon) in the top right...
Read more >What About:Blank in a Browser Means and How to Resolve It
From the menu, select Settings. From the left-sidebar, select On startup. On the right side of the window, click the three vertical dots...
Read more >Change new tab to about:blank in chrome without any extension
Go to Chrome Settings · Change On Startup option to Open a specific page or set of pages. · Click on Set pages...
Read more >What Is about:blank, and How Do You Remove It?
In Google Chrome, head to menu > Settings. Scroll down to the “On startup” section and select either “Open the New Tab page”...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I use
lighthouse
in my code 😃 If I setstartingUrl
option with an Url (eg. example.com), I have two tabs with with example.com site page…It’s OK with version: 0.11.2 👍