Optimizing Performance in TestDriver
run
command or GitHub matrix strategy to execute these files in parallel.run
command is used in your test files to run other test files. This is useful for breaking down large tests into smaller, more manageable pieces. To run multiple separate tests, use the GitHub matrix strategy.hover-text
, wait-for-text
, and scroll-until-text
, use the turbo
matching method instead of ai
. The turbo
method uses text similarity to quickly compute the most relevant match, making it about 40% faster than the ai
method.
async
assertsassert
command supports the async: true
property, allowing you to create non-blocking assertions. This means your tests can continue running while the assertion is being validated, saving valuable time.
turbo
.async
properties wherever possible to avoid blocking test execution.