How to ensure that your selenium tests aren't flaky