Apps
Testing Static Websites with TestDriver
Test static websites with TestDriver
TestDriver provides a powerful solution for testing static websites. With our platform, you can easily create and run tests to ensure your static website functions as expected across different browsers and devices.
TestDriver in action
Getting started
To get started with testing static websites using TestDriver, follow these steps:
- Follow our quick start guide to set up your TestDriver account.
- Create a new test project in your TestDriver dashboard.
- Add your static website URL to the test settings.
It looks like this in the
prerun.yaml
file:
Set the TD_WEBSITE
environment variable to the URL of your static website. This will allow TestDriver to launch the browser and navigate to your website. You can do this by adding this prerun.yaml
file to your project or by simply using:
Running init will create the prerun.yaml
file for you and ask you which website to load with your test.