Fix broken selenium tests