public void FirstPOMTest() { this.driver.Url = "https://google.com"; var page = new GooglePOM(); PageFactory.InitElements(this.driver, page); page.searchBox.SendKeys("Selenium Page Object Model"); this.driver.Quit(); }
public void TestMethod() { IWebDriver driver = new ChromeDriver(); GooglePOM pom = new GooglePOM(driver); }