Guide

Customize Script in Playground

Overview

The Browserbase Playground is an integrated development environment where you can create, test, and refine browser automation scripts before deploying them to production. Customizing your script with toggles and checkboxes allows you to enable optional features, configure advanced settings, or adjust how your agent interacts with web pages. This is especially useful when experimenting with different automation strategies or fine-tuning behavior for specific use cases.

Before you begin

  • A Browserbase account with access to the dashboard (sign up at https://www.browserbase.com/sign-up if needed)
  • An active API key or access credentials to run browser sessions
  • At least one script already created in the Browserbase Playground, or familiarity with the Playground interface

Step by step

1
ClickPlayground

Navigate to the Browserbase Playground by clicking the Playground link in the top navigation. This opens the integrated development environment where you can create and configure automation scripts.

Tip. The Playground link is typically located in the main navigation bar. If you're on the dashboard home page, it may also appear in a quick-access menu.
Step 1
2
ClickCustomize

Click the Customize button to open the script customization panel. This reveals available options for configuring your script's behavior and features.

Tip. The Customize button is usually positioned near the top of the script editor or in a sidebar. Look for it once your script is loaded in the Playground.
Step 2
3
Clickswitch

Enable features by clicking any toggle switch in the customization panel. Each toggle controls a specific aspect of your script's execution, such as advanced logging, retry behavior, or browser headless mode.

Tip. Toggle switches typically show a visual state change (color shift or animation) when activated. Hover over each toggle to see a tooltip explaining its purpose.
Step 3
4
Clickcheckbox

Enable additional options by clicking checkboxes in the customization panel. Checkboxes allow you to opt in to specific features or validations that refine how your script behaves.

Tip. You can select multiple checkboxes at once. Look for a description or label next to each checkbox to understand what it controls before enabling it.
Step 4

Confirm it worked

  1. 1The Playground page loads and displays your script editor or configuration panel
  2. 2The Customize button becomes active or reveals customization options after clicking
  3. 3Toggle switches and checkboxes appear in the customization interface and respond to your clicks
  4. 4Your selections are reflected in the script preview or execution settings (visual state change or confirmation message)

Common issues

Keep reading

Customize Script in Playground | Browzer