puppeteer/assets/js/6a849816.e02f7f32.js
2021-10-07 15:21:45 +00:00

1 line
4.2 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[57430],{3905:function(e,r,t){t.d(r,{Zo:function(){return a},kt:function(){return h}});var n=t(67294);function o(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 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?p(Object(t),!0).forEach((function(r){o(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function s(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},p=Object.keys(e);for(n=0;n<p.length;n++)t=p[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(n=0;n<p.length;n++)t=p[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var u=n.createContext({}),i=function(e){var r=n.useContext(u),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},a=function(e){var r=i(e.components);return n.createElement(u.Provider,{value:r},e.children)},l={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},f=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,p=e.originalType,u=e.parentName,a=s(e,["components","mdxType","originalType","parentName"]),f=i(t),h=o,d=f["".concat(u,".").concat(h)]||f[h]||l[h]||p;return t?n.createElement(d,c(c({ref:r},a),{},{components:t})):n.createElement(d,c({ref:r},a))}));function h(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var p=t.length,c=new Array(p);c[0]=f;var s={};for(var u in r)hasOwnProperty.call(r,u)&&(s[u]=r[u]);s.originalType=e,s.mdxType="string"==typeof e?e:o,c[1]=s;for(var i=2;i<p;i++)c[i]=t[i];return n.createElement.apply(null,c)}return n.createElement.apply(null,t)}f.displayName="MDXCreateElement"},65267:function(e,r,t){t.r(r),t.d(r,{frontMatter:function(){return s},contentTitle:function(){return u},metadata:function(){return i},toc:function(){return a},default:function(){return f}});var n=t(87462),o=t(63366),p=(t(67294),t(3905)),c=["components"],s={},u=void 0,i={unversionedId:"puppeteer.browserfetcher.host",id:"version-9.1.1/puppeteer.browserfetcher.host",isDocsHomePage:!1,title:"puppeteer.browserfetcher.host",description:"Home &gt; puppeteer &gt; BrowserFetcher &gt; host",source:"@site/versioned_docs/version-9.1.1/puppeteer.browserfetcher.host.md",sourceDirName:".",slug:"/puppeteer.browserfetcher.host",permalink:"/puppeteer/docs/9.1.1/puppeteer.browserfetcher.host",editUrl:"https://github.com/facebook/puppeteer/edit/main/website/versioned_docs/version-9.1.1/puppeteer.browserfetcher.host.md",version:"9.1.1",frontMatter:{},sidebar:"version-9.1.1/docs",previous:{title:"puppeteer.browserfetcher.download",permalink:"/puppeteer/docs/9.1.1/puppeteer.browserfetcher.download"},next:{title:"puppeteer.browserfetcher.localrevisions",permalink:"/puppeteer/docs/9.1.1/puppeteer.browserfetcher.localrevisions"}},a=[{value:"BrowserFetcher.host() method",id:"browserfetcherhost-method",children:[]}],l={toc:a};function f(e){var r=e.components,t=(0,o.Z)(e,c);return(0,p.kt)("wrapper",(0,n.Z)({},l,t,{components:r,mdxType:"MDXLayout"}),(0,p.kt)("p",null,(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/9.1.1/index"},"Home")," ",">"," ",(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/9.1.1/puppeteer"},"puppeteer")," ",">"," ",(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/9.1.1/puppeteer.browserfetcher"},"BrowserFetcher")," ",">"," ",(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/9.1.1/puppeteer.browserfetcher.host"},"host")),(0,p.kt)("h2",{id:"browserfetcherhost-method"},"BrowserFetcher.host() method"),(0,p.kt)("b",null,"Signature:"),(0,p.kt)("pre",null,(0,p.kt)("code",{parentName:"pre",className:"language-typescript"},"host(): string;\n")),(0,p.kt)("b",null,"Returns:"),(0,p.kt)("p",null,"string"),(0,p.kt)("p",null,"The download host being used."))}f.isMDXComponent=!0}}]);