fix broken selenium tests