<titledata-rh="true">PuppeteerLifeCycleEvent type | 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.puppeteerlifecycleevent"><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="PuppeteerLifeCycleEvent type | Puppeteer"><metadata-rh="true"name="description"content="Signature:"><metadata-rh="true"property="og:description"content="Signature:"><linkdata-rh="true"rel="icon"href="/img/favicon.ico"><linkdata-rh="true"rel="canonical"href="https://pptr.dev/next/api/puppeteer.puppeteerlifecycleevent"><linkdata-rh="true"rel="alternate"href="https://pptr.dev/next/api/puppeteer.puppeteerlifecycleevent"hreflang="en"><linkdata-rh="true"rel="alternate"href="https://pptr.dev/next/api/puppeteer.puppeteerlifecycleevent"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_LWe7"id="signature">Signature:<ahref="#signature"class="hash-link"aria-label="Direct link to Signature:"title="Direct link to Signature:"></a></h4>
<divclass="language-typescript codeBlockContainer_Ckt0 theme-code-block"style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><divclass="codeBlockContent_biex"><pretabindex="0"class="prism-code language-typescript codeBlock_bY9V thin-scrollbar"style="color:#393A34;background-color:#f6f8fa"><codeclass="codeBlockLines_e6Vv"><spanclass="token-line"style="color:#393A34"><spanclass="token keyword"style="color:#00009f">export</span><spanclass="token plain"></span><spanclass="token keyword"style="color:#00009f">type</span><spanclass="token plain"></span><spanclass="token class-name">PuppeteerLifeCycleEvent</span><spanclass="token plain"></span><spanclass="token operator"style="color:#393A34">=</span><spanclass="token plain"></span><br></span><spanclass="token-line"style="color:#393A34"><spanclass="token plain"></span><spanclass="token doc-comment comment"style="color:#999988;font-style:italic">/**</span><br></span><spanclass="token-line"style="color:#393A34"><spanclass="token doc-comment comment"style="color:#999988;font-style:italic"> * Waits for the 'load' event.</span><br></span><spanclass="token-line"style="color:#393A34"><spanclass="token doc-comment comment"style="color:#999988;font-style:italic"> */</span><spanclass="token plain"></span><br></span><spanclass="token-line"style="color:#393A34"><spanclass="token plain"></span><spanclass="token operator"style="color:#393A34">|</span><spanclass="token plain"></span><spanclass="token string"style="color:#e3116c">'load'</span><spanclass="token plain"></span><br></span><spanclass="token-line"style="color:#393A34"><spanclass="token plain"></span><spanclass="token doc-comment comment"style="color:#999988;font-style:italic">/**</span><br></span><spanclass="token-line"style="color:#393A34"><spanclass="token doc-comment comment"style="color:#999988;font-style:italic"> * Waits for the 'DOMContentLoaded' event.</span><br></span><spanclass="token-line"style="color:#393A34"><spanclass="token doc-comment comment"style="color:#999988;font-style:italic"> */</span><spanclass="token plain"></span><br></span><spanclass="token-line"style="color:#393A34"><spanclass="token plain"></span><spanclass="token operator"style="color:#393A34">|</span><spanclass="token plain"></span><spanclass="token string"style="color:#e3116c">'domcontentloaded'</span><spanclass="token plain"></span><br></span><spanclass="token-line"style="color:#393A34"><spanclass="token plain"></span><spanclass="token doc-comment comment"style="color:#999988;font-style:italic">/**</span><br></span><spanclass="token-line"style="color:#393A34"><spanclass="token doc-comment comment"style="color:#999988;font-style:italic"> * Waits till there are no more than 0 network connections for at least `500`</span><br></span><spanclass="token-line"style="color:#393A34"><spanclass="token doc-comment comment"style="color:#999988;font-style:italic"> * ms.</span><br></span><spanclass="token-line"style="color:#393A34"><spanclass="token doc-comment comment"style="color:#999988;font-style:italic"> */</span><spanclass="token plain"></span><br></span><spanclass="token-line"style="color:#393A34"><spanclass="token plain"></span><spanclass="token operator"style="color:#393A34">|</span><spanclass="token plain"></span><spanclass="token string"style="color:#e3116c">'networkidle0'</span><spanclass="token plain"></span><br></span><spanclass="token-line"style="color:#393A34"><spanclass="token plain"></span><spanclass="token doc-comment comment"style="color:#999988;font-style:italic">/**</span><br></span><spanclass="token-line"style="color:#393A34"><spanclass="token doc-comment comment"style="color:#999988;font-style:italic"> * Waits till there are no more than 2 network connections for at least `500`</span><br></span><spanclass="token-line"style="color:#393A34"><spanclass="token doc-comment comment"style="color:#999988;font-style:italic"> * ms.</span><br></span><spa