"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[68836],{3905:function(e,r,t){t.d(r,{Zo:function(){return i},kt:function(){return g}});var o=t(67294);function n(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function p(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function a(e){for(var r=1;r=0||(n[t]=e[t]);return n}(e,r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}var s=o.createContext({}),u=function(e){var r=o.useContext(s),t=r;return e&&(t="function"==typeof e?e(r):a(a({},r),e)),t},i=function(e){var r=u(e.components);return o.createElement(s.Provider,{value:r},e.children)},l={inlineCode:"code",wrapper:function(e){var r=e.children;return o.createElement(o.Fragment,{},r)}},v=o.forwardRef((function(e,r){var t=e.components,n=e.mdxType,p=e.originalType,s=e.parentName,i=c(e,["components","mdxType","originalType","parentName"]),v=u(t),g=n,f=v["".concat(s,".").concat(g)]||v[g]||l[g]||p;return t?o.createElement(f,a(a({ref:r},i),{},{components:t})):o.createElement(f,a({ref:r},i))}));function g(e,r){var t=arguments,n=r&&r.mdxType;if("string"==typeof e||n){var p=t.length,a=new Array(p);a[0]=v;var c={};for(var s in r)hasOwnProperty.call(r,s)&&(c[s]=r[s]);c.originalType=e,c.mdxType="string"==typeof e?e:n,a[1]=c;for(var u=2;u"," ",(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/puppeteer"},"puppeteer")," ",">"," ",(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/puppeteer.coverage"},"Coverage")," ",">"," ",(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/puppeteer.coverage.stopjscoverage"},"stopJSCoverage")),(0,p.kt)("h2",{id:"coveragestopjscoverage-method"},"Coverage.stopJSCoverage() method"),(0,p.kt)("b",null,"Signature:"),(0,p.kt)("pre",null,(0,p.kt)("code",{parentName:"pre",className:"language-typescript"},"stopJSCoverage(): Promise;\n")),(0,p.kt)("b",null,"Returns:"),(0,p.kt)("p",null,"Promise","<",(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/puppeteer.coverageentry"},"CoverageEntry"),"[","]",">"),(0,p.kt)("p",null,"Promise that resolves to the array of coverage reports for all scripts."),(0,p.kt)("h2",{id:"remarks"},"Remarks"),(0,p.kt)("p",null,"JavaScript Coverage doesn't include anonymous scripts by default. However, scripts with sourceURLs are reported."))}v.isMDXComponent=!0}}]);