puppeteer/assets/js/ccb3aaac.c5097bd7.js
2021-10-07 15:21:45 +00:00

1 line
4.0 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[241],{3905:function(e,r,t){t.d(r,{Zo:function(){return l},kt:function(){return b}});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 u(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 c(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 i=n.createContext({}),a=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):u(u({},r),e)),t},l=function(e){var r=a(e.components);return n.createElement(i.Provider,{value:r},e.children)},s={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,p=e.mdxType,o=e.originalType,i=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),f=a(t),b=p,m=f["".concat(i,".").concat(b)]||f[b]||s[b]||o;return t?n.createElement(m,u(u({ref:r},l),{},{components:t})):n.createElement(m,u({ref:r},l))}));function b(e,r){var t=arguments,p=r&&r.mdxType;if("string"==typeof e||p){var o=t.length,u=new Array(o);u[0]=f;var c={};for(var i in r)hasOwnProperty.call(r,i)&&(c[i]=r[i]);c.originalType=e,c.mdxType="string"==typeof e?e:p,u[1]=c;for(var a=2;a<o;a++)u[a]=t[a];return n.createElement.apply(null,u)}return n.createElement.apply(null,t)}f.displayName="MDXCreateElement"},93726:function(e,r,t){t.r(r),t.d(r,{frontMatter:function(){return c},contentTitle:function(){return i},metadata:function(){return a},toc:function(){return l},default:function(){return f}});var n=t(87462),p=t(63366),o=(t(67294),t(3905)),u=["components"],c={},i=void 0,a={unversionedId:"puppeteer.webworker.url",id:"puppeteer.webworker.url",isDocsHomePage:!1,title:"puppeteer.webworker.url",description:"Home &gt; puppeteer &gt; WebWorker &gt; url",source:"@site/docs/puppeteer.webworker.url.md",sourceDirName:".",slug:"/puppeteer.webworker.url",permalink:"/puppeteer/docs/next/puppeteer.webworker.url",editUrl:"https://github.com/facebook/puppeteer/edit/main/website/docs/puppeteer.webworker.url.md",version:"current",frontMatter:{},sidebar:"docs",previous:{title:"puppeteer.webworker.executioncontext",permalink:"/puppeteer/docs/next/puppeteer.webworker.executioncontext"},next:{title:"puppeteer.accessibility",permalink:"/puppeteer/docs/next/puppeteer.accessibility"}},l=[{value:"WebWorker.url() method",id:"webworkerurl-method",children:[]}],s={toc:l};function f(e){var r=e.components,t=(0,p.Z)(e,u);return(0,o.kt)("wrapper",(0,n.Z)({},s,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.webworker"},"WebWorker")," ",">"," ",(0,o.kt)("a",{parentName:"p",href:"/puppeteer/docs/next/puppeteer.webworker.url"},"url")),(0,o.kt)("h2",{id:"webworkerurl-method"},"WebWorker.url() method"),(0,o.kt)("b",null,"Signature:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-typescript"},"url(): string;\n")),(0,o.kt)("b",null,"Returns:"),(0,o.kt)("p",null,"string"),(0,o.kt)("p",null,"The URL of this web worker."))}f.isMDXComponent=!0}}]);