private void BeforeScenario() { // Initialise our contexts to share information between step implementations, and hooks ScenarioContext.Current[SharedContextName] = new SharedContext(); Driver = WebDriverFactory.Get(); SharedContext.InitialWindowHandle = Driver.CurrentWindowHandle; }
public FluentUi(WebDriverFactory webDriverFactory) : this(webDriverFactory.Get()) { }