Performance

Optimize your tests to save serious time!

While TestDriver is incredibly smart, using AI matching methods all the time can be slow. Nobody wants to block developers from merging while waiting for tests to run!

Here are some tips for improving TestDriver performance.

Use Parallel Testing

Covered in the previous section, use embedand Parallel Testing to split your actions into multiple files and run them.

Use `turbo` matching method

The most common actions like hover-text, wait-for-text , and scroll-until-text can use an optimized matching algorithm when method: turbo is supplied. This is about 40% faster than the ai method!

Usse `async` Asserts

The assert method has property async: true which allows you to create non blocking test assertions costing you almost no time!

Last updated