type safe selenium tests