// Client (test) manipulates objects in the composition through the component interface (ILoadableComponent) static void Main(string[] args) { IWebDriver driver = new FirefoxDriver(); driver.Manage().Window.Maximize(); // Leaf object ILoadableComponent depositPage = new DepositPage(driver); depositPage.Load(); //driver.Quit(); }