/*! For license information please see 49f7d348.eee47b52.js.LICENSE.txt */ "use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[66135],{15226:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>h,frontMatter:()=>l,metadata:()=>a,toc:()=>o});var s=r(85893),n=r(11151);const l={sidebar_label:"Frame.select"},c="Frame.select() method",a={id:"api/puppeteer.frame.select",title:"Frame.select() method",description:"Selects a set of value on the first ` element that matches the selector`.",source:"@site/../docs/api/puppeteer.frame.select.md",sourceDirName:"api",slug:"/api/puppeteer.frame.select",permalink:"/next/api/puppeteer.frame.select",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"Frame.select"},sidebar:"api",previous:{title:"Frame.parentFrame",permalink:"/next/api/puppeteer.frame.parentframe"},next:{title:"Frame.setContent",permalink:"/next/api/puppeteer.frame.setcontent"}},i={},o=[{value:"Signature:",id:"signature",level:4},{value:"Parameters",id:"parameters",level:2},{value:"Exceptions",id:"exceptions",level:2},{value:"Example",id:"example",level:2}];function d(e){const t={code:"code",h1:"h1",h2:"h2",h4:"h4",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"frameselect-method",children:"Frame.select() method"}),"\n",(0,s.jsxs)(t.p,{children:["Selects a set of value on the first ",(0,s.jsx)(t.code,{children:""})," has the ",(0,s.jsx)("code",{children:"multiple"})," attribute, all values are considered, otherwise only the first one is taken into account."]})]})]})]}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.strong,{children:"Returns:"})}),"\n",(0,s.jsx)(t.p,{children:"Promise"}),"\n",(0,s.jsx)(t.p,{children:"the list of values that were successfully selected."}),"\n",(0,s.jsx)(t.h2,{id:"exceptions",children:"Exceptions"}),"\n",(0,s.jsxs)(t.p,{children:["Throws if there's no ",(0,s.jsx)(t.code,{children:"