Fixed failing Selenium tests.