puppeteer/assets/js/840518d1.9e469590.js
2021-10-07 15:21:45 +00:00

1 line
4.1 KiB
JavaScript

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