Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provisions Chrome browsers, desktop apps, and extensions in a TestDriver sandbox for test starting points.
13% 100%+88 ptsof test cases passed
Passed 24 of 24 test cases with the skill, and 3 of 24 without it.
3 of 3 safety checks passed
43 agent runs
Provision methods are the starting point for most tests. They launch applications in your sandbox and prepare the environment for testing.
The most common starting point for web testing. Launches Chrome browser and navigates to a URL.
await testdriver.provision.chrome({
url: 'https://example.com',
});
| Option | Type | Default | Description |
|---|---|---|---|
url | string | 'http://testdriver-sandbox.vercel.app/' | URL to navigate to |
maximized | boolean | true | Start browser maximized |
guest | boolean | false | Use guest mode (no profile) |
import { describe, expect, it } from "vitest";
import { TestDriver } from "testdriverai/vitest/hooks";
describe("Login Flow", () => {
it("should log in successfully", async (context) => {
const testdriver = TestDriver(context);
await testdriver.provision.chrome({
url: 'https://myapp.com/login',
});
await testdriver.find("Email input").click();
await testdriver.type("[email protected]");
await testdriver.find("Password input").click();
Published skills whose descriptions closely match this one, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.