mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1 line
4.4 KiB
JavaScript
1 line
4.4 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[64391],{3905:function(e,r,t){t.d(r,{Zo:function(){return s},kt:function(){return d}});var n=t(67294);function p(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?o(Object(t),!0).forEach((function(r){p(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function u(e,r){if(null==e)return{};var t,n,p=function(e,r){if(null==e)return{};var t,n,p={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(p[t]=e[t]);return p}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(p[t]=e[t])}return p}var a=n.createContext({}),i=function(e){var r=n.useContext(a),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},s=function(e){var r=i(e.components);return n.createElement(a.Provider,{value:r},e.children)},f={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},l=n.forwardRef((function(e,r){var t=e.components,p=e.mdxType,o=e.originalType,a=e.parentName,s=u(e,["components","mdxType","originalType","parentName"]),l=i(t),d=p,m=l["".concat(a,".").concat(d)]||l[d]||f[d]||o;return t?n.createElement(m,c(c({ref:r},s),{},{components:t})):n.createElement(m,c({ref:r},s))}));function d(e,r){var t=arguments,p=r&&r.mdxType;if("string"==typeof e||p){var o=t.length,c=new Array(o);c[0]=l;var u={};for(var a in r)hasOwnProperty.call(r,a)&&(u[a]=r[a]);u.originalType=e,u.mdxType="string"==typeof e?e:p,c[1]=u;for(var i=2;i<o;i++)c[i]=t[i];return n.createElement.apply(null,c)}return n.createElement.apply(null,t)}l.displayName="MDXCreateElement"},1507:function(e,r,t){t.r(r),t.d(r,{frontMatter:function(){return u},contentTitle:function(){return a},metadata:function(){return i},toc:function(){return s},default:function(){return l}});var n=t(87462),p=t(63366),o=(t(67294),t(3905)),c=["components"],u={},a=void 0,i={unversionedId:"puppeteer.browserfetcher.product",id:"puppeteer.browserfetcher.product",isDocsHomePage:!1,title:"puppeteer.browserfetcher.product",description:"Home > puppeteer > BrowserFetcher > product",source:"@site/docs/puppeteer.browserfetcher.product.md",sourceDirName:".",slug:"/puppeteer.browserfetcher.product",permalink:"/puppeteer/docs/next/puppeteer.browserfetcher.product",editUrl:"https://github.com/facebook/puppeteer/edit/main/website/docs/puppeteer.browserfetcher.product.md",version:"current",frontMatter:{},sidebar:"docs",previous:{title:"puppeteer.browserfetcher.platform",permalink:"/puppeteer/docs/next/puppeteer.browserfetcher.platform"},next:{title:"puppeteer.browserfetcher.remove",permalink:"/puppeteer/docs/next/puppeteer.browserfetcher.remove"}},s=[{value:"BrowserFetcher.product() method",id:"browserfetcherproduct-method",children:[]}],f={toc:s};function l(e){var r=e.components,t=(0,p.Z)(e,c);return(0,o.kt)("wrapper",(0,n.Z)({},f,t,{components:r,mdxType:"MDXLayout"}),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"/puppeteer/docs/next/index"},"Home")," ",">"," ",(0,o.kt)("a",{parentName:"p",href:"/puppeteer/docs/next/puppeteer"},"puppeteer")," ",">"," ",(0,o.kt)("a",{parentName:"p",href:"/puppeteer/docs/next/puppeteer.browserfetcher"},"BrowserFetcher")," ",">"," ",(0,o.kt)("a",{parentName:"p",href:"/puppeteer/docs/next/puppeteer.browserfetcher.product"},"product")),(0,o.kt)("h2",{id:"browserfetcherproduct-method"},"BrowserFetcher.product() method"),(0,o.kt)("b",null,"Signature:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-typescript"},"product(): Product;\n")),(0,o.kt)("b",null,"Returns:"),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"/puppeteer/docs/next/puppeteer.product"},"Product")),(0,o.kt)("p",null,"Returns the current ",(0,o.kt)("inlineCode",{parentName:"p"},"Product"),", which is one of ",(0,o.kt)("inlineCode",{parentName:"p"},"chrome")," or ",(0,o.kt)("inlineCode",{parentName:"p"},"firefox"),"."))}l.isMDXComponent=!0}}]); |