fix selenium tests, now that upstream selenium bugfixes have come down the chute