<titledata-rh="true">BrowserLaunchArgumentOptions interface | Puppeteer</title><metadata-rh="true"name="viewport"content="width=device-width,initial-scale=1"><metadata-rh="true"name="twitter:card"content="summary_large_image"><metadata-rh="true"property="og:url"content="https://pptr.dev/next/api/puppeteer.browserlaunchargumentoptions"><metadata-rh="true"property="og:locale"content="en"><metadata-rh="true"name="docsearch:language"content="en"><metadata-rh="true"name="docsearch:counter"content="3"><metadata-rh="true"property="og:title"content="BrowserLaunchArgumentOptions interface | Puppeteer"><metadata-rh="true"name="description"content="Launcher options that only apply to Chrome."><metadata-rh="true"property="og:description"content="Launcher options that only apply to Chrome."><linkdata-rh="true"rel="icon"href="/img/favicon.ico"><linkdata-rh="true"rel="canonical"href="https://pptr.dev/next/api/puppeteer.browserlaunchargumentoptions"><linkdata-rh="true"rel="alternate"href="https://pptr.dev/next/api/puppeteer.browserlaunchargumentoptions"hreflang="en"><linkdata-rh="true"rel="alternate"href="https://pptr.dev/next/api/puppeteer.browserlaunchargumentoptions"hreflang="x-default"><linkdata-rh="true"rel="preconnect"href="https://DVKY664LG7-dsn.algolia.net"crossorigin="anonymous"><linkrel="search"type="application/opensearchdescription+xml"title="Puppeteer"href="/opensearch.xml">
<h4class="anchor anchorWithStickyNavbar_FNw8"id="signature">Signature:<ahref="#signature"class="hash-link"aria-label="Direct link to Signature:"title="Direct link to Signature:"></a></h4>
<h2class="anchor anchorWithStickyNavbar_FNw8"id="properties">Properties<ahref="#properties"class="hash-link"aria-label="Direct link to Properties"title="Direct link to Properties"></a></h2>
<table><thead><tr><th><p>Property</p></th><th><p>Modifiers</p></th><th><p>Type</p></th><th><p>Description</p></th><th><p>Default</p></th></tr></thead><tbody><tr><td><spanid="args">args</span></td><td><p><code>optional</code></p></td><td><p>string[]</p></td><td><p>Additional command line arguments to pass to the browser instance.</p></td><td></td></tr><tr><td><spanid="debuggingport">debuggingPort</span></td><td><p><code>optional</code></p></td><td><p>number</p></td><td><p>Specify the debugging port number to use</p></td><td></td></tr><tr><td><spanid="devtools">devtools</span></td><td><p><code>optional</code></p></td><td><p>boolean</p></td><td><p>Whether to auto-open a DevTools panel for each tab. If this is set to <code>true</code>, then <code>headless</code> will be forced to <code>false</code>.</p></td><td><p><code>false</code></p></td></tr><tr><td><spanid="headless">headless</span></td><td><p><code>optional</code></p></td><td><p>boolean | 'shell'</p></td><td><p>Whether to run the browser in headless mode.</p><p><strong>Remarks:</strong></p><ul>
<li>
<p><code>true</code> launches the browser in the <ahref="https://developer.chrome.com/articles/new-headless/"target="_blank"rel="noopener noreferrer">new headless</a> mode.</p>
</li>
<li>
<p><code>'shell'</code> launches <ahref="https://developer.chrome.com/blog/chrome-headless-shell"target="_blank"rel="noopener noreferrer">shell</a> known as the old headless mode.</p>