PizzaScript

Browser Automation & Webpage Performance Testing


PizzaScript is a JavaScript browser automation framework that records detailed webpage performance metrics.

It uses the Chrome DevTools Extensions API, so no external driver is required.

It includes:


PizzaScript Editor


Features


Try It!

First make sure the following are installed:

Download the latest PizzaScript release.

Open the IDE:

bin/pizzascript-ide

Run all the example scripts and generate a report:

bin/pizzascript scripts

Examples


Load a Page


b = pizza.open("www.google.com");
b.verifyText("Search");

Form Submission


b = pizza.open();
b.open("loadtestgo.com");
b.click("button:contains(Login)");
b.waitPageLoad();
b.type("#inputUsername", "demo@loadtestgo.com");
b.type("#inputPassword", "password");
b.click("button:contains(Login):nth(1)");
b.waitPageLoad();

Load a Page While Emulating a Mobile Browser


b = pizza.open();
b.emulateDevice("Apple iPhone 6");
b.open("cnn.com");

More Examples...


Alternatives