Selenium/How-to/Debug a flaky test

The first step is to reproduce the problem. Since a flaky test will fail only sometimes, that can be tricky. Running the test multiple times is the simplest thing to do.