File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ namespace WebDriverManager.DriverConfigs.Impl
9
9
public class EdgeConfig : IDriverConfig
10
10
{
11
11
private const string BaseVersionPatternUrl = "https://msedgedriver.azureedge.net/<version>/" ;
12
- private const string LatestReleaseVersionUrl = "https://msedgedriver.azureedge.net/LATEST_STABLE" ;
12
+ private const string LatestStableReleaseVersionUrl = "https://msedgedriver.azureedge.net/LATEST_STABLE" ;
13
+ private const string LatestBetaReleaseVersionUrl = "https://msedgedriver.azureedge.net/LATEST_BETA" ;
13
14
14
15
public virtual string GetName ( )
15
16
{
@@ -60,7 +61,10 @@ public virtual string GetBinaryName()
60
61
61
62
public virtual string GetLatestVersion ( )
62
63
{
63
- return GetLatestVersion ( LatestReleaseVersionUrl ) ;
64
+ var url = RuntimeInformation . IsOSPlatform ( OSPlatform . Windows )
65
+ ? LatestStableReleaseVersionUrl
66
+ : LatestBetaReleaseVersionUrl ;
67
+ return GetLatestVersion ( url ) ;
64
68
}
65
69
66
70
public virtual string GetLatestVersion ( string url )
Original file line number Diff line number Diff line change 4
4
<CheckEolTargetFramework >false</CheckEolTargetFramework >
5
5
<TargetFrameworks >net472;netstandard2.0;netstandard2.1</TargetFrameworks >
6
6
<GeneratePackageOnBuild >true</GeneratePackageOnBuild >
7
- <Version >2.17.4 </Version >
7
+ <Version >2.17.5 </Version >
8
8
<Title >WebDriverManager.Net</Title >
9
9
<Description >Automatic Selenium WebDriver binaries management for .Net</Description >
10
10
<Copyright >© 2016-2024, Aliaksandr Rasolka. All Rights Reserved.</Copyright >
14
14
<RepositoryType >git</RepositoryType >
15
15
<PackageReadmeFile >README.md</PackageReadmeFile >
16
16
<PackageTags >Selenium WebDriver ChromeDriver EdgeDriver InternetExplorerDriver FirefoxDriver OperaDriver PhantomJsDriver</PackageTags >
17
- <PackageReleaseNotes ></PackageReleaseNotes >
17
+ <PackageReleaseNotes >Fix edge driver download for linux and macos systems </PackageReleaseNotes >
18
18
</PropertyGroup >
19
19
20
20
<ItemGroup >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ version: '{build}'
3
3
image : Visual Studio 2019
4
4
5
5
environment :
6
- LIBRARY_VERSION : ' 2.17.4 '
6
+ LIBRARY_VERSION : ' 2.17.5 '
7
7
SONAR_LOGIN :
8
8
secure : JNopXLZtkO5PD8yEj2+W1BZnbhq9oegXmTFgvVWQw67z5PtWwd+ngjv5O7xFetCZ
9
9
You can’t perform that action at this time.
0 commit comments