Testim Documentation

Welcome to the Testim documentation. You'll find comprehensive guides to help you get started quickly, example code snippets, and tips for being more productive. You will also find details about advanced features that allow you to customize Testim to fit your environment or special testing conditions. Don't worry, we'll support you if you get stuck. Let's jump right in!

Guides    Changelog



This is a TDK feature

This is not supported in Testim's visual editor

This method submits the given form element.

  • selector {string | TDKStepLocator} a CSS selector or smart locator for the element
  • returns: Promise that fulfills when the action is complete or throws if the form is not found or the passed element is not a form.
// ✅ submit the given `form`
await submit('form');
// ✅ submit the given form by smart locator
await submit(l('.login-form'));

// ❌ need to pass the form
await submit();
// ❌ does not take options
await submit({ x: 15, y: 20});

Updated about a year ago


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.