PageSourceSearch

https://pptr.dev/assets/js/13265381.d3e16f03.js

js pptr.dev collected 2026-09-24 07:04:28 UTC 2,230 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["14419"],{95792(e,n,t){t.r(n),t.d(n,{metadata:()=>r,default:()=>c,frontMatter:()=>d,contentTitle:()=>s,toc:()=>p,assets:()=>o});var r=JSON.parse('{"id":"api/puppeteer.page.windowid","title":"Page.windowId() method","description":"Returns the page\'s window id.","source":"@site/.generated-docs/next/api/puppeteer.page.windowid.md","sourceDirName":"api","slug":"/api/puppeteer.page.windowid","permalink":"/next/api/puppeteer.page.windowid","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"sidebar_label":"Page.windowId"},"sidebar":"api","previous":{"title":"Page.waitForSelector","permalink":"/next/api/puppeteer.page.waitforselector"},"next":{"title":"Page.workers","permalink":"/next/api/puppeteer.page.workers"}}'),i=t(74848),a=t(28453);let d={sidebar_label:"Page.windowId"},s="Page.windowId() method",o={},p=[{value:"Signature",id:"signature",level:3}];function l(e){let n={a:"a",code:"code",h1:"h1",h3:"h3",header:"header",p:"p",pre:"pre",strong:"strong",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"pagewindowid-method",children:"Page.windowId() method"})}),"\n",(0,i.jsx)(n.p,{children:"Returns the page's window id."}),"\n",(0,i.jsx)(n.h3,{id:"signature",children:"Signature"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typescript",children:"class Page {\n  abstract windowId(): Promise<WindowId>;\n}\n"})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.strong,{children:"Returns:"})}),"\n",(0,i.jsxs)(n.p,{children:["Promise<",(0,i.jsx)(n.a,{href:"/next/api/puppeteer.windowid",children:"WindowId"}),">"]})]})}function c(e={}){let{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},28453(e,n,t){t.d(n,{R:()=>d,x:()=>s});var r=t(96540);let i={},a=r.createContext(i);function d(e){let n=r.useContext(a);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function s(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:d(e.components),r.createElement(a.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.