Skip to content

Commit

Permalink
Add way to use own binary and variable service implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
rosolko committed Jan 16, 2017
1 parent a0ffe74 commit af765fa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions WebDriverManager/DriverManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ public DriverManager()
_variableService = new VariableService();
}

public DriverManager(IBinaryService binaryService, IVariableService variableService)
{
_binaryService = binaryService;
_variableService = variableService;
}

public void SetUpDriver(string url, string binaryPath, string binaryName)
{
var zipPath = FileHelper.GetZipDestination(url);
Expand Down
4 changes: 2 additions & 2 deletions WebDriverManager/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("2.0.1")]
[assembly: AssemblyFileVersion("2.0.1")]
[assembly: AssemblyVersion("2.1.0")]
[assembly: AssemblyFileVersion("2.1.0")]
6 changes: 3 additions & 3 deletions WebDriverManager/WebDriverManager.nuspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<package >
<package>
<metadata>
<id>$id$</id>
<version>$version$</version>
Expand All @@ -11,8 +11,8 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<summary>$description$</summary>
<releaseNotes>Migrate from HtmlAgilityPack to AngleSharp</releaseNotes>
<copyright>Copyright © Alexander Rosolko 2016</copyright>
<releaseNotes>Add way to use own binary and variable service implementations</releaseNotes>
<copyright>Copyright © Alexander Rosolko 2016-2017</copyright>
<tags>Selenium WebDriver ChromeDriver EdgeDriver InternetExplorerDriver MarionetteDriver OperaDriver PhantomJsDriver AppiumDriver</tags>
</metadata>
</package>

0 comments on commit af765fa

Please sign in to comment.