public Chrome SetExtention() { var dir = FileAndFolderHandler.GetSolutionDirectory(); var extensionPath = Path.Combine(dir, "Resources", "ChromeExtensions"); var files = Directory.GetFiles(extensionPath); foreach (var extension in files) { var extPath = Path.Combine(extensionPath, extension); if (_options == null) { _options = new ChromeOptions(); } _options.AddExtension(extPath); } return(this); }
public void GivenIHaveAReferenceOfTheAppConfigrationHandler() { appConfigHandler = new AppConfigHandler(); _currentdir = FileAndFolderHandler.GetSolutionDirectory(); }
public AppConfigHandler() { _solutionDir = FileAndFolderHandler.GetSolutionDirectory(); }
public void GivenIGetTheCurrentDirectory() { _currentdir = FileAndFolderHandler.GetSolutionDirectory(); }