puppeteer/assets/js/d74d3fe0.8c2555e7.js
2021-10-07 15:21:45 +00:00

1 line
4.1 KiB
JavaScript

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