Puppeteer Examples

Puppeteer is popular Node library for web browser automation to simulate user interaction and application rendering in real web browser.
It is used by many companies for End-to-end (E2E) testing by their Quality Assurance / DevOps teams.

Our REST API allows you to submit Puppeteer JavaScript fragement to geographic region of your choice. We will start Chrome web browser for you and start executing test script.
If any of steps fails or throws exception we will automatically mark your test as failed. Test is successful if your script runs all steps without errors / exceptions.

All infrastructure is managed by us and allows you up to 30 parallel tests and location selection for each test run.

Below are some script examples which can be adapted for your use case. If you have additional questions you can always contact us.

NOTE: You don’t have to place JavaScript code inside function, you can just start writing code as shown in examples. For each test run you will receive initialized Puppeteer page object via execution context and can be used immediately.

Open web page

This is very basic example which demonstrates how to open web page and check if page title matches expected text.