Removed usage of deprecated switch_to_*() selenium methods.