Fix Selenium tests.