mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
5.2 KiB
JavaScript
2 lines
5.2 KiB
JavaScript
|
/*! For license information please see 67e61025.b3be0fe3.js.LICENSE.txt */
|
||
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[45641],{94056:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>i,contentTitle:()=>l,default:()=>h,frontMatter:()=>d,metadata:()=>a,toc:()=>o});var t=s(85893),n=s(11151);const d={sidebar_label:"InstalledBrowser"},l="InstalledBrowser class",a={id:"browsers-api/browsers.installedbrowser",title:"InstalledBrowser class",description:"Signature:",source:"@site/../docs/browsers-api/browsers.installedbrowser.md",sourceDirName:"browsers-api",slug:"/browsers-api/browsers.installedbrowser",permalink:"/next/browsers-api/browsers.installedbrowser",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"InstalledBrowser"},sidebar:"browsersApi",previous:{title:"install_1",permalink:"/next/browsers-api/browsers.install_1"},next:{title:"InstalledBrowser.readMetadata",permalink:"/next/browsers-api/browsers.installedbrowser.readmetadata"}},i={},o=[{value:"Signature:",id:"signature",level:4},{value:"Remarks",id:"remarks",level:2},{value:"Properties",id:"properties",level:2},{value:"Methods",id:"methods",level:2}];function c(e){const r={a:"a",code:"code",h1:"h1",h2:"h2",h4:"h4",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.h1,{id:"installedbrowser-class",children:"InstalledBrowser class"}),"\n",(0,t.jsx)(r.h4,{id:"signature",children:"Signature:"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-typescript",children:"export declare class InstalledBrowser\n"})}),"\n",(0,t.jsx)(r.h2,{id:"remarks",children:"Remarks"}),"\n",(0,t.jsxs)(r.p,{children:["The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the ",(0,t.jsx)(r.code,{children:"InstalledBrowser"})," class."]}),"\n",(0,t.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"Property"}),(0,t.jsx)(r.th,{children:"Modifiers"}),(0,t.jsx)(r.th,{children:"Type"}),(0,t.jsx)(r.th,{children:"Description"})]})}),(0,t.jsxs)(r.tbody,{children:[(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"browser"}),(0,t.jsx)(r.td,{}),(0,t.jsx)(r.td,{children:(0,t.jsx)(r.a,{href:"/next/browsers-api/browsers.browser",children:"Browser"})}),(0,t.jsx)(r.td,{})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"buildId"}),(0,t.jsx)(r.td,{}),(0,t.jsx)(r.td,{children:"string"}),(0,t.jsx)(r.td,{})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"executablePath"}),(0,t.jsx)(r.td,{children:(0,t.jsx)("code",{children:"readonly"})}),(0,t.jsx)(r.td,{children:"string"}),(0,t.jsx)(r.td,{})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"path"}),(0,t.jsx)(r.td,{children:(0,t.jsx)("code",{children:"readonly"})}),(0,t.jsx)(r.td,{children:"string"}),(0,t.jsxs)(r.td,{children:["Path to the root of the installation folder. Use ",(0,t.jsx)(r.a,{href:"/next/browsers-api/browsers.computeexecutablepath",children:"computeExecutablePath()"})," to get the path to the executable binary."]})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"platform"}),(0,t.jsx)(r.td,{}),(0,t.jsx)(r.td,{children:(0,t.jsx)(r.a,{href:"/next/browsers-api/browsers.browserplatform",children:"BrowserPlatform"})}),(0,t.jsx)(r.td,{})]})]})]}),"\n",(0,t.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"Method"}),(0,t.jsx)(r.th,{children:"Modifiers"}),(0,t.jsx)(r.th,{children:"Description"})]})}),(0,t.jsxs)(r.tbody,{children:[(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.a,{href:"/next/browsers-api/browsers.installedbrowser.readmetadata",children:"readMetadata()"})}),(0,t.jsx)(r.td,{}),(0,t.jsx)(r.td,{})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.a,{href:"/next/browsers-api/browsers.installedbrowser.writemetadata",children:"writeMetadata(metadata)"})}),(0,t.jsx)(r.td,{}),(0
|