<titledata-rh="true">PuppeteerNode.launch() method | 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/api/puppeteer.puppeteernode.launch"><metadata-rh="true"property="og:locale"content="en"><metadata-rh="true"name="docsearch:language"content="en"><metadata-rh="true"name="docsearch:counter"content="2"><metadata-rh="true"property="og:title"content="PuppeteerNode.launch() method | Puppeteer"><metadata-rh="true"name="description"content="Launches a browser instance with given arguments and options when specified."><metadata-rh="true"property="og:description"content="Launches a browser instance with given arguments and options when specified."><linkdata-rh="true"rel="icon"href="/img/favicon.ico"><linkdata-rh="true"rel="canonical"href="https://pptr.dev/api/puppeteer.puppeteernode.launch"><linkdata-rh="true"rel="alternate"href="https://pptr.dev/api/puppeteer.puppeteernode.launch"hreflang="en"><linkdata-rh="true"rel="alternate"href="https://pptr.dev/api/puppeteer.puppeteernode.launch"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">
<p>Launches a browser instance with given arguments and options when specified.</p>
<p>When using with <code>puppeteer-core</code>, <ahref="/api/puppeteer.launchoptions">options.executablePath</a> or <ahref="/api/puppeteer.launchoptions">options.channel</a> must be provided.</p>
<h4class="anchor anchorWithStickyNavbar_LWe7"id="signature">Signature:<ahref="#signature"class="hash-link"aria-label="Direct link to Signature:"title="Direct link to Signature:"></a></h4>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="parameters">Parameters<ahref="#parameters"class="hash-link"aria-label="Direct link to Parameters"title="Direct link to Parameters"></a></h2>
<table><thead><tr><th>Parameter</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>options</td><td><ahref="/api/puppeteer.puppeteerlaunchoptions">PuppeteerLaunchOptions</a></td><td><em>(Optional)</em> Options to configure launching behavior.</td></tr></tbody></table>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="remarks">Remarks<ahref="#remarks"class="hash-link"aria-label="Direct link to Remarks"title="Direct link to Remarks"></a></h2>
<p>Puppeteer can also be used to control the Chrome browser, but it works best with the version of Chrome for Testing downloaded by default. There is no guarantee it will work with any other version. If Google Chrome (rather than Chrome for Testing) is preferred, a <ahref="https://www.google.com/chrome/browser/canary.html"target="_blank"rel="noopener noreferrer">Chrome Canary</a> or <ahref="https://www.chromium.org/getting-involved/dev-channel"target="_blank"rel="noopener noreferrer">Dev Channel</a> build is suggested. See <ahref="https://www.howtogeek.com/202825/what%E2%80%99s-the-difference-between-chromium-and-chrome/"target="_blank"rel="noopener noreferrer">this article</a> for a description of the differences between Chromium and Chrome. <ahref="https://chromium.googlesource.com/chromium/src/+/lkgr/docs/chromium_browser_vs_google_chrome.md"target="_blank"rel="noopener noreferrer">This article</a> describes some differences for Linux users. See <ahref="https://developer.chrome.com/blog/chrome-for-testing/"target="_blank"rel="noopener noreferrer">this doc</a> for the description of Chrome for Testing.</p>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="example">Example<ahref="#example"class="hash-link"aria-label="Direct link to Example"title="Direct link to Example"></a></h2>
<p>You can use <ahref="/api/puppeteer.launchoptions">options.ignoreDefaultArgs</a> to filter out <code>--mute-audio</code> from default arguments:</p>