public TestCase() { ChromeDriver driver0 = new ChromeDriver(); driver = new SeleniumLogEventListener(driver0); Home = new HomePage(driver); Contact = new ContactUsPage(driver); SeleniumLog log = SeleniumLog.Instance(driver); //Only need to pass in driver once as it is a Singleton object }
public void ContactUsSetup() { sut = new ContactUsPage(driver); sut.GoToPage(); }