HeadlessTesting Documentation

A Headless Browser Cloud for Developers. Connect your Puppeteer and Playwright scripts to our Cloud.

Built for Developers


We provide a grid of browsers in the cloud, ready to run automated headless tests with libraries such as Puppeteer.

There are multiple advantages to using a cloud service instead of setting up everything yourself:
  • No maintenance costs, updating systems or browsers
  • We've optimised our systems for speed and reliability
  • Highly scaleable: run multiple tests concurrently on our hardware
  • Out of the box reporting and analytics

Quick Start

It's very easy to get started. See this example below:


const browser = await puppeteer.connect({
  browserWSEndpoint: 'wss://chrome.headlesstesting.com?token=[YOUR-TOKEN]'
})

const page = await browser.newPage()
await page.goto('https://headlesstesting.com')
await page.screenshot({ path: 'screenshot.png' })
browser.close()

This example will start a Chrome Headless Browser, navigate to HeadlessTesting.com and save a PNG screenshot.

const browser = await puppeteer.connect({
  browserWSEndpoint: 'wss://edge.headlesstesting.com?token=[YOUR-TOKEN]'
})

const page = await browser.newPage()
await page.goto('https://headlesstesting.com')
await page.screenshot({ path: 'screenshot.png' })
browser.close()

This example will start a Microsoft Edge Headless Browser, navigate to HeadlessTesting.com and save a PNG screenshot.

const browser = await puppeteer.connect({
  browserWSEndpoint: 'wss://firefox.headlesstesting.com?token=[YOUR-TOKEN]'
})

const page = await browser.newPage()
await page.goto('https://headlesstesting.com')
await page.screenshot({ path: 'screenshot.png' })
browser.close()

This example will start a Firefox Headless Browser, navigate to HeadlessTesting.com and save a PNG screenshot.