puppeteer/assets/js/9577a4a6.bef93ef4.js
2021-10-07 15:21:45 +00:00

1 line
4.6 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[99405],{3905:function(e,t,r){r.d(t,{Zo:function(){return i},kt:function(){return g}});var o=r(67294);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},p=Object.keys(e);for(o=0;o<p.length;o++)r=p[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(o=0;o<p.length;o++)r=p[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var s=o.createContext({}),u=function(e){var t=o.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=u(e.components);return o.createElement(s.Provider,{value:t},e.children)},l={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},v=o.forwardRef((function(e,t){var r=e.components,n=e.mdxType,p=e.originalType,s=e.parentName,i=c(e,["components","mdxType","originalType","parentName"]),v=u(r),g=n,f=v["".concat(s,".").concat(g)]||v[g]||l[g]||p;return r?o.createElement(f,a(a({ref:t},i),{},{components:r})):o.createElement(f,a({ref:t},i))}));function g(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var p=r.length,a=new Array(p);a[0]=v;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c.mdxType="string"==typeof e?e:n,a[1]=c;for(var u=2;u<p;u++)a[u]=r[u];return o.createElement.apply(null,a)}return o.createElement.apply(null,r)}v.displayName="MDXCreateElement"},12017:function(e,t,r){r.r(t),r.d(t,{frontMatter:function(){return c},contentTitle:function(){return s},metadata:function(){return u},toc:function(){return i},default:function(){return v}});var o=r(87462),n=r(63366),p=(r(67294),r(3905)),a=["components"],c={},s=void 0,u={unversionedId:"puppeteer.coverage.stopcsscoverage",id:"puppeteer.coverage.stopcsscoverage",isDocsHomePage:!1,title:"puppeteer.coverage.stopcsscoverage",description:"Home &gt; puppeteer &gt; Coverage &gt; stopCSSCoverage",source:"@site/docs/puppeteer.coverage.stopcsscoverage.md",sourceDirName:".",slug:"/puppeteer.coverage.stopcsscoverage",permalink:"/puppeteer/docs/next/puppeteer.coverage.stopcsscoverage",editUrl:"https://github.com/facebook/puppeteer/edit/main/website/docs/puppeteer.coverage.stopcsscoverage.md",version:"current",frontMatter:{},sidebar:"docs",previous:{title:"puppeteer.coverage.startjscoverage",permalink:"/puppeteer/docs/next/puppeteer.coverage.startjscoverage"},next:{title:"puppeteer.coverage.stopjscoverage",permalink:"/puppeteer/docs/next/puppeteer.coverage.stopjscoverage"}},i=[{value:"Coverage.stopCSSCoverage() method",id:"coveragestopcsscoverage-method",children:[]},{value:"Remarks",id:"remarks",children:[]}],l={toc:i};function v(e){var t=e.components,r=(0,n.Z)(e,a);return(0,p.kt)("wrapper",(0,o.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,p.kt)("p",null,(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/next/index"},"Home")," ",">"," ",(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/next/puppeteer"},"puppeteer")," ",">"," ",(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/next/puppeteer.coverage"},"Coverage")," ",">"," ",(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/next/puppeteer.coverage.stopcsscoverage"},"stopCSSCoverage")),(0,p.kt)("h2",{id:"coveragestopcsscoverage-method"},"Coverage.stopCSSCoverage() method"),(0,p.kt)("b",null,"Signature:"),(0,p.kt)("pre",null,(0,p.kt)("code",{parentName:"pre",className:"language-typescript"},"stopCSSCoverage(): Promise<CoverageEntry[]>;\n")),(0,p.kt)("b",null,"Returns:"),(0,p.kt)("p",null,"Promise","<",(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/next/puppeteer.coverageentry"},"CoverageEntry"),"[","]",">"),(0,p.kt)("p",null,"Promise that resolves to the array of coverage reports for all stylesheets."),(0,p.kt)("h2",{id:"remarks"},"Remarks"),(0,p.kt)("p",null,"CSS Coverage doesn't include dynamically injected style tags without sourceURLs."))}v.isMDXComponent=!0}}]);