Skip to content

Browser Options

When starting a browser session with new_session, you can pass browser_options to control browser type, device emulation, and more.

All Browser Options

OptionTypeDescriptionDefault
device_namestringDevice to emulate (see Supported Devices below)"Desktop Chrome"
device_type"browser" | "android"Device type"browser"
headlessbooleanRun browser in headless mode (no visible window)false
disable_securitybooleanDisable web security (CORS, CSP)false
enable_camerabooleanEnable camera permission (Chromium only)false
enable_microphonebooleanEnable microphone permission (Chromium only)false
localestringBrowser locale (e.g., "en-US", "zh-CN")
proxyobjectProxy configuration: { server, username?, password? }
record_videobooleanEnable video recording of the sessionfalse

Usage Examples

Tell your coding agent to start a session with specific options:

Open a browser session on iPhone 15 Pro and navigate to my app at localhost:3000
Start a headless browser session with video recording enabled and test the checkout flow
Open a Firefox browser and verify the layout looks correct
Start a browser session emulating a Galaxy S24 with locale set to ja-JP

Supported Devices

Desktop

Device NameBrowserResolution
Desktop ChromeChromium1920 × 1080
Desktop Chrome Medium ResolutionChromium1280 × 720
Desktop Chrome (Branded)Google Chrome1920 × 1080
Desktop Chrome Medium Resolution (Branded)Google Chrome1280 × 720
Desktop Chrome HiDPIChromium1280 × 720 (2x)
Desktop EdgeChromium1280 × 720
Desktop Edge (Branded)Microsoft Edge1920 × 1080
Desktop Edge Medium Resolution (Branded)Microsoft Edge1280 × 720
Desktop Edge HiDPIChromium1280 × 720 (2x)
Desktop FirefoxFirefox1280 × 720
Desktop Firefox HiDPIFirefox1280 × 720 (2x)
Desktop SafariWebKit1280 × 720 (2x)

iPhone

Device NameViewportScale
iPhone 15 Pro Max430 × 7393x
iPhone 15 Pro393 × 6593x
iPhone 15 Plus430 × 7393x
iPhone 15393 × 6593x
iPhone 14 Pro Max430 × 7403x
iPhone 14 Pro393 × 6603x
iPhone 14 Plus428 × 7463x
iPhone 14390 × 6643x
iPhone 13 Pro Max428 × 7463x
iPhone 13 Pro390 × 6643x
iPhone 13390 × 6643x
iPhone 13 Mini375 × 6293x
iPhone 12 Pro Max428 × 7463x
iPhone 12 Pro390 × 6643x
iPhone 12390 × 6643x
iPhone 12 Mini375 × 6293x
iPhone 11 Pro Max414 × 7153x
iPhone 11 Pro375 × 6353x
iPhone 11414 × 7152x
iPhone XR414 × 8963x
iPhone X375 × 8123x
iPhone SE (3rd gen)375 × 6672x
iPhone SE320 × 5682x
iPhone 8 Plus414 × 7363x
iPhone 8375 × 6672x
iPhone 7 Plus414 × 7363x
iPhone 7375 × 6672x
iPhone 6 Plus414 × 7363x
iPhone 6375 × 6672x

Samsung Galaxy

Device NameViewportScale
Galaxy S24360 × 7803x
Galaxy A55480 × 10402.25x
Galaxy S9+320 × 6584.5x
Galaxy S8360 × 7403x
Galaxy S5360 × 6403x
Galaxy S III360 × 6402x
Galaxy Note 3360 × 6403x
Galaxy Note II360 × 6402x
Galaxy Tab S9640 × 10242.5x
Galaxy Tab S4712 × 11382.25x

Google Pixel

Device NameViewportScale
Pixel 7412 × 8392.625x
Pixel 5393 × 7272.75x
Pixel 4a (5G)412 × 7652.63x
Pixel 4353 × 7453x
Pixel 3393 × 7862.75x
Pixel 2 XL411 × 8233.5x
Pixel 2411 × 7312.625x

iPad

Device NameViewportScale
iPad Pro 11834 × 11942x
iPad (gen 11)656 × 9442.5x
iPad (gen 7)810 × 10802x
iPad (gen 6)768 × 10242x
iPad (gen 5)768 × 10242x
iPad Mini768 × 10242x

Other Devices

Device NameViewportScale
Moto G4360 × 6403x
Nexus 6P412 × 7323.5x
Nexus 6412 × 7323.5x
Nexus 5X412 × 7322.625x
Nexus 5360 × 6403x
Nexus 4384 × 6402x
Nexus 10800 × 12802x
Nexus 7600 × 9602x
LG Optimus L70384 × 6401.25x
Microsoft Lumia 950360 × 6404x
Microsoft Lumia 550360 × 6402x
Nokia Lumia 520320 × 5331.5x
Nokia N9480 × 8541x
Kindle Fire HDX800 × 12802x
Blackberry PlayBook600 × 10241x
BlackBerry Z30360 × 6402x

Browser Types

Each device uses a specific browser engine:

Browser TypeEngineNotes
chromiumChromiumDefault for most devices. Used by Chrome, Edge.
firefoxFirefoxDesktop Firefox devices only.
webkitWebKitUsed by Safari, iPhone, and iPad devices.

TIP

The browser type is determined automatically by the device_name you choose. For example, selecting "Desktop Firefox" uses the Firefox engine, while "iPhone 15 Pro" uses WebKit.

Released under the MIT License.