public void CalssInit() { _driver = new ChromeDriver(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)); _driver.Manage().Window.Maximize(); _driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10); _googlePage = new GooglePage(_driver); _softuniPage = new SoftuniPage(_driver); }
public void ClassInit() { _softuniPage = new SoftuniPage(Driver); }
public void SetUp() { _driver = new ChromeDriver(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)); _softuniPage = new SoftuniPage(_driver); }
public void NavigateHomePage(SoftuniPage softuniPage) { this.Navigate(Url); }