Watch it run
The test
assert.test.mjs
How it works
provision.chrome({ url })starts Chrome in the sandbox and opens the URL.screenshot()saves the screen to.testdriver/screenshots/and returns the file path. Use it to debug failures later.assert()asks the AI whether a statement about the screen is true.assert()throws when the statement is false, so the test fails at that line.- The
expect()after it makes the check explicit in the test.
Run it
The test is in the TestDriver SDK repository. Clone it, install dependencies, and run the file:TD_API_KEY. Create a key at console.testdriver.ai/team/api-keys. Then set it in your environment or a .env file.

