fix selenium test with firefox