Fix minor bug in Selenium test