"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[44422],{3905:(e,r,t)=>{t.d(r,{Zo:()=>l,kt:()=>g});varo=t(67294);functiona(e,r,t){returnrine?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}functionn(e,r){vart=Object.keys(e);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){returnObject.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}returnt}functionp(e){for(varr=1;r<arguments.length;r++){vart=null!=arguments[r]?arguments[r]:{};r%2?n(Object(t),!0).forEach((function(r){a(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):n(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}returne}functions(e,r){if(null==e)return{};vart,o,a=function(e,r){if(null==e)return{};vart,o,a={},n=Object.keys(e);for(o=0;o<n.length;o++)t=n[o],r.indexOf(t)>=0||(a[t]=e[t]);returna}(e,r);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(e);for(o=0;o<n.length;o++)t=n[o],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}returna}varc=o.createContext({}),i=function(e){varr=o.useContext(c),t=r;returne&&(t="function"==typeofe?e(r):p(p({},r),e)),t},l=function(e){varr=i(e.components);returno.createElement(c.Provider,{value:r},e.children)},u={inlineCode:"code",wrapper:function(e){varr=e.children;returno.createElement(o.Fragment,{},r)}},v=o.forwardRef((function(e,r){vart=e.components,a=e.mdxType,n=e.originalType,c=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),v=i(t),g=a,m=v["".concat(c,".").concat(g)]||v[g]||u[g]||n;returnt?o.createElement(m,p(p({ref:r},l),{},{components:t})):o.createElement(m,p({ref:r},l))}));functiong(e,r){vart=arguments,a=r&&r.mdxType;if("string"==typeofe||a){varn=t.length,p=newArray(n);p[0]=v;vars={};for(varcinr)hasOwnProperty.call(r,c)&&(s[c]=r[c]);s.originalType=e,s.mdxType="string"==typeofe?e:a,p[1]=s;for(vari=2;i<n;i++)p[i]=t[i];returno.createElement.apply(null,p)}returno.createElement.apply(null,t)}v.displayName="MDXCreateElement"},49638:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>p,default:()=>u,frontMatter:()=>n,metadata:()=>s,toc:()=>i});varo=t(87462),a=(t(67294),t(3905));constn={sidebar_label:"Coverage.stopCSSCoverage"},p="Coverage.stopCSSCoverage() method",s={unversionedId:"api/puppeteer.coverage.stopcsscoverage",id:"version-17.1.3/api/puppeteer.coverage.stopcsscoverage",title:"Coverage.stopCSSCoverage() method",description:"Signature:",source:"@site/versioned_docs/version-17.1.3/api/puppeteer.coverage.stopcsscoverage.md",sourceDirName:"api",slug:"/api/puppeteer.coverage.stopcsscoverage",permalink:"/api/puppeteer.coverage.stopcsscoverage",draft:!1,tags:[],version:"17.1.3",frontMatter:{sidebar_label:"Coverage.stopCSSCoverage"},sidebar:"sidebar",previous:{title:"Coverage.startJSCoverage",permalink:"/api/puppeteer.coverage.startjscoverage"},next:{title:"Coverage.stopJSCoverage",permalink:"/api/puppeteer.coverage.stopjscoverage"}},c={},i=[{value:"Remarks",id:"remarks",level:2}],l={toc:i};functionu(e){let{components:r,...t}=e;return(0,a.kt)("wrapper",(0,o.Z)({},l,t,{components:r,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"coveragestopcsscoverage-method"},"Coverage.stopCSSCoverage() method"),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Signature:")),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-typescript"},"class Coverage {\n stopCSSCoverage(): Promise<CoverageEntry[]>;\n}\n")),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Returns:")),(0,a.kt)("p",null,"Promise","<",(0,a.kt)("a",{parentName:"p",href:"/api/puppeteer.coverageentry"},"CoverageEntry"),"[","]",">"),(0,a.kt)("p",null,"Promise that resolves to the array of coverage reports for all stylesheets."),(0,a.kt)("h2",{id:"remarks"},"Remarks"),(0,a.kt)("p",null,"CSS Coverage doesn't include dynamically injected style tags without sourceURLs."))}u.isMDXComponent=!0}}]);