Setting web driver when switching to another page