Puppeteer Overview
Introduction
Testable supports executing Puppeteer tests:
This document gives a general overview of how Testable integrates with Puppeteer.
How it Works
The code that defines your scenario can be uploaded to Testable or downloaded at test time from a Git repository.
Parameters
Parameterize your scenario and reuse it across many test configurations or via API. This can be useful to control things like environment, base URL, credentials, etc. Parameter values are accessible in your Puppeteer scripts as environment variables. For example, parameter Abc
is accessible as environment variable PARAM_ABC
.
Read more about scenario parameters here.
Environment
Testable passes various environment variables into your test that give you context (e.g. region name, global index, total number of concurrent users, etc).
See our Puppeteer environment page for more details.