Updated Selenium-based tests after e909ceae9b.