Skip to content

Commit af765fa

Browse files
committed
Add way to use own binary and variable service implementations
1 parent a0ffe74 commit af765fa

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

WebDriverManager/DriverManager.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ public DriverManager()
1616
_variableService = new VariableService();
1717
}
1818

19+
public DriverManager(IBinaryService binaryService, IVariableService variableService)
20+
{
21+
_binaryService = binaryService;
22+
_variableService = variableService;
23+
}
24+
1925
public void SetUpDriver(string url, string binaryPath, string binaryName)
2026
{
2127
var zipPath = FileHelper.GetZipDestination(url);

WebDriverManager/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@
3939
// by using the '*' as shown below:
4040
// [assembly: AssemblyVersion("1.0.*")]
4141

42-
[assembly: AssemblyVersion("2.0.1")]
43-
[assembly: AssemblyFileVersion("2.0.1")]
42+
[assembly: AssemblyVersion("2.1.0")]
43+
[assembly: AssemblyFileVersion("2.1.0")]

WebDriverManager/WebDriverManager.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<package >
2+
<package>
33
<metadata>
44
<id>$id$</id>
55
<version>$version$</version>
@@ -11,8 +11,8 @@
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1212
<description>$description$</description>
1313
<summary>$description$</summary>
14-
<releaseNotes>Migrate from HtmlAgilityPack to AngleSharp</releaseNotes>
15-
<copyright>Copyright © Alexander Rosolko 2016</copyright>
14+
<releaseNotes>Add way to use own binary and variable service implementations</releaseNotes>
15+
<copyright>Copyright © Alexander Rosolko 2016-2017</copyright>
1616
<tags>Selenium WebDriver ChromeDriver EdgeDriver InternetExplorerDriver MarionetteDriver OperaDriver PhantomJsDriver AppiumDriver</tags>
1717
</metadata>
1818
</package>

0 commit comments

Comments
 (0)