fix selenium testing