public AbstractPage(IWebDriver driver, By[] pageUniqueElementsBy) { this.driver = driver; bot = new ActionBot(driver); this.pageUniqueElementsBy = pageUniqueElementsBy; pageName = this.GetType().Name; if (pageUniqueElementsBy != null && pageUniqueElementsBy.Length > 0) { VerifyOnPage(); } }
public CustomerShared(IWebDriver Driver, ResourceManager EnvironmentConfig, ResourceManager BrandConfig, ActionBot actionBot) { this.Driver = Driver; this.EnvironmentConfig = EnvironmentConfig; this.BrandConfig = BrandConfig; this.actionBot = actionBot; }
public BrokerShared(IWebDriver Driver, ResourceManager EnvironmentConfig, ResourceManager BrandConfig, ActionBot actionBot) { this.Driver = Driver; this.EnvironmentConfig = EnvironmentConfig; this.BrandConfig = BrandConfig; this.actionBot = actionBot; this.Locker = new object(); }