Skip to main content
BCTRL home page
v1
Search...
⌘K
Support
Dashboard
Dashboard
Search...
Navigation
Page
Lifecycle
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
Page
Navigation
Page Info
Actions
Queries
Content
State Checks
Waiting
Screenshots & PDF
Evaluation
Lifecycle
Other
Mouse
Keyboard
Touchscreen
Playwright Browser
Context
Locator
Element Handle
Frame
Puppeteer
Stagehand
On this page
close
bringToFront
Page
Lifecycle
Copy page
Playwright Page — lifecycle methods
Copy page
Page lifecycle methods for the
Playwright
driver.
close
Close the page.
Upstream docs
options
{ runBeforeUnload?: boolean }
SDK
HTTP
Copy
await
page
.
close
();
bringToFront
Bring page to front (activate tab).
Upstream docs
SDK
HTTP
Copy
await
page
.
bringToFront
();
Evaluation
Other
⌘I