fix selenium tests