I\'m creating tests using Selenium 2 Web Driver with C#.Net. After reading through a lot of the Selenium documentation, I am left still feeling unsure on how to go about tes
Use PageFactory.InitElements(_driver, this); on the constructor of your base page class:
PageFactory.InitElements(_driver, this)
public class Page { public IWebDriver _driver; public Page(IWebDriver driver) { this._driver = driver; PageFactory.InitElements(_driver, this); } }
Please see the PageFactory documentation