---
title: Puppeteer Capabilities Builder | TestingBot
description: Build Puppeteer capabilities for automated testing with TestingBot. Choose
  browsers, devices, and configuration options to generate code for your Puppeteer
  tests.
source_url:
  html: https://testingbot.com/support/web-automate/puppeteer/capabilities
  md: https://testingbot.com/support/web-automate/puppeteer/capabilities.md
---

# Puppeteer Capabilities Generator

Generate Puppeteer connection options for your automated tests. Choose your browser, device emulation and configuration options to get the exact code you need for your Puppeteer tests.

[![Selenium capabilities](https://testingbot.com/assets/support/selenium-266ecc0599068fc6eca0bcd9174fb46053c95cebe1c66f7a50c480f3f1a52929.svg) Selenium ](https://testingbot.com/support/web-automate/selenium/capabilities) [![Appium capabilities](https://testingbot.com/assets/support/appium-4b35a8bb56bae236bd84c539cee9b8bbb489a55ddf48e32d059c86685d230354.svg) Appium ](https://testingbot.com/support/app-automate/appium/capabilities) [![Puppeteer capabilities](https://testingbot.com/assets/support/puppeteer-0a8cdd38af69dabd46638afbb3bffc8a372902949aa599663ec379f3e875263c.svg) Puppeteer ](https://testingbot.com/support/web-automate/puppeteer/capabilities) [![Playwright capabilities](https://testingbot.com/assets/support/playwright-2dcb4e75b55ac0d1135cfa47be6137b13f46a2047ce78b96a34f51b0e2cc0d96.svg) Playwright ](https://testingbot.com/support/web-automate/playwright/capabilities)

Browser Environment
  ![OS selected](https://testingbot.com/assets/environments/svg/windows11-0e1b28bc0fdd5034d3e4d3dc8d346c500a8c6522facf4b45d0da56537c1f1c6d.svg) Windows 11 › ![Browser Selected](https://testingbot.com/assets/environments/svg/chrome-c4081ff447d2d898d4afcb8f074a907c960e6f007716c1a1d119eee6803c4042.svg) Chrome 139 

Loading environments...

Please wait while we load the available browsers and platforms.

Resolution 800x600 1024x768 1280x800 1280x960 1280x1024 1440x900 1680x1050 1600x1200 1920x1200 1920x1080 2560x1440

## Project Capabilities

Test Name Allows you to customize the name of the test, as it will appear in the dashboard. 

Build Name Group tests under the same build identifier for easy retrieval. 

## Debugging

Record Video
 Yes No

## Customization

Headless Mode Run the browser without rendering UI for faster test execution.
 Yes No

Geolocation Testing Run the test from a different geographical location. None Random Country Australia Belgium Brazil Canada Chile France Germany India Italy Japan Norway Singapore South Africa Sweden Switzerland United Arab Emirates United Kingdom United States

Timezone ([list of timezones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)) 

Prerun Script ([documentation](https://testingbot.com/support/web-automate/selenium/test-options#prerun)) 

Upload URLs 

Looking for more options? See [all Puppeteer capabilities](https://testingbot.com/support/web-automate/puppeteer/options).

```javascript
const puppeteer = require('puppeteer');

(async () => {
  const capabilities = {
    browserName: 'chrome',
    browserVersion: 'latest',
    platformName: 'Windows 11',
    'tb:options': {
      'key': process.env.TB_KEY,
      'secret': process.env.TB_SECRET
    }
  }
  const browser = await puppeteer.connect({
    browserWSEndpoint: `wss://cloud.testingbot.com/puppeteer?capabilities=${encodeURIComponent(JSON.stringify(capabilities))}`
  });

  const page = await browser.newPage();
  await page.goto('https://testingbot.com');
  
  // Your test code here
  
  await browser.close();
})();
```
