public void SetCurrentPage(PageBase page) { this.currentPage = page; this.currentPage.Driver = Driver; }