fixing selenium tests