Dev Kit API

This page will help you get started with import-sample. You'll be up and running in a jiffy!

🚧

TDK Feature

This is not supported in Testim's visual editor.

Dev Kit API

The Testim Dev Kit is a platform that enables multi-browser low-latency and stable codeful automation through a high level API that runs inside the Testim platform.

Example of usage:

await go('http://example.com/?foo=bar');
await click('.loacker-juice');
const waferFan = await text('.affectionado');
// because Ilan really loves loacker
expect(waferFan).to.equal('ilan');

The Dev Kit exposes an API that enables you to perform web automation tasks easily.

Please see the tutorial on getting started with the API.

Full API reference

Environment Variables

By default TDK exposes any environment variable prefixed with TDK_ and BASE_URL. See Working with environment variables for a more in-depth guide of passing environment data to tests.


What’s Next