Skip to main content
BCTRL home page
v1
Search...
⌘K
Support
Dashboard
Dashboard
Search...
Navigation
Element Handle
Waiting
Home
SDK Reference
API Reference
Pricing
Cookbook
Changelog
GitHub
Discord
SDK API (HTTP)
SDK Reference
Sessions
Profiles
Session Features
Session Events
Vault
Storage
Extensions
Discover
Browser Automation
Playwright
Puppeteer
Page
Frame
Element Handle
Actions
Queries
Content
State Checks
Waiting
Screenshots & PDF
Evaluation
Other
Puppeteer Locator
Stagehand
On this page
waitForSelector
Element Handle
Waiting
Copy page
Puppeteer Element Handle — waiting methods
Copy page
Element Handle waiting methods for the
Puppeteer
driver.
waitForSelector
Wait for a child element to appear.
Upstream docs
selector
string
required
options
PuppeteerWaitForSelectorOptions
result
RemotePuppeteerElementHandle | null
Return value
SDK
HTTP
Copy
await
element
.
waitForSelector
(
'...'
);
State Checks
Screenshots & PDF
⌘I