File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
WebDriverManager/DriverConfigs/Impl Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ private string GetUrl()
3434#if NETSTANDARD
3535 if ( RuntimeInformation . IsOSPlatform ( OSPlatform . OSX ) )
3636 {
37- return $ "{ BaseVersionPatternUrl } chromedriver_mac64.zip";
37+ var extension = RuntimeInformation . ProcessArchitecture == Architecture . Arm64 ? "_m1" : "" ;
38+ return $ "{ BaseVersionPatternUrl } chromedriver_mac64{ extension } .zip";
3839 }
3940
4041 if ( RuntimeInformation . IsOSPlatform ( OSPlatform . Linux ) )
Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ public virtual string GetUrl64()
2626#if NETSTANDARD
2727 if ( RuntimeInformation . IsOSPlatform ( OSPlatform . OSX ) )
2828 {
29- return $ "{ BaseVersionPatternUrl } edgedriver_mac64.zip";
29+ var extension = RuntimeInformation . ProcessArchitecture == Architecture . Arm64 ? "_m1" : "" ;
30+ return $ "{ BaseVersionPatternUrl } edgedriver_mac64{ extension } .zip";
3031 }
3132
3233 if ( RuntimeInformation . IsOSPlatform ( OSPlatform . Linux ) )
Original file line number Diff line number Diff line change @@ -81,7 +81,8 @@ private static string GetUrl(Architecture architecture)
8181#if NETSTANDARD
8282 if ( RuntimeInformation . IsOSPlatform ( OSPlatform . OSX ) )
8383 {
84- return $ "{ DownloadUrl } macos.tar.gz";
84+ var extension = RuntimeInformation . ProcessArchitecture == Architecture . Arm64 ? "-aarch64" : "" ;
85+ return $ "{ DownloadUrl } macos{ extension } .tar.gz";
8586 }
8687
8788 return RuntimeInformation . IsOSPlatform ( OSPlatform . Linux )
You can’t perform that action at this time.
0 commit comments