Skip to content

Commit

Permalink
Upgrade to 107.0.5304.18
Browse files Browse the repository at this point in the history
  • Loading branch information
jsakamoto committed Oct 2, 2022
1 parent 347a070 commit 848e034
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 19 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NuGet package - Selenium WebDriver ChromeDriver

[![NuGet Package](https://img.shields.io/badge/nuget-for%20Chrome%20v104-blue.svg)](https://www.nuget.org/packages/Selenium.WebDriver.ChromeDriver/104.0.5112.7900) [![NuGet Package](https://img.shields.io/badge/nuget-for%20Chrome%20v105-blue.svg)](https://www.nuget.org/packages/Selenium.WebDriver.ChromeDriver/105.0.5195.5200) [![NuGet Package](https://img.shields.io/badge/nuget-for%20Chrome%20v106-blue.svg)](https://www.nuget.org/packages/Selenium.WebDriver.ChromeDriver/106.0.5249.6100)
[![NuGet Package](https://img.shields.io/badge/nuget-for%20Chrome%20v105-blue.svg)](https://www.nuget.org/packages/Selenium.WebDriver.ChromeDriver/105.0.5195.5200) [![NuGet Package](https://img.shields.io/badge/nuget-for%20Chrome%20v106-blue.svg)](https://www.nuget.org/packages/Selenium.WebDriver.ChromeDriver/106.0.5249.6100) [![NuGet Package](https://img.shields.io/badge/nuget-for%20Chrome%20v107-blue.svg)](https://www.nuget.org/packages/Selenium.WebDriver.ChromeDriver/107.0.5304.1800-beta)

## What's this?

Expand All @@ -14,6 +14,10 @@ NuGet package restoring ready, and no need to commit "chromedriver(.exe)" binary

For example, at the package manager console on Visual Studio, enter the following command.

If you are using Chrome version 107:

PM> Install-Package Selenium.WebDriver.ChromeDriver -Version 107.0.5304.1800-beta

If you are using Chrome version 106:

PM> Install-Package Selenium.WebDriver.ChromeDriver -Version 106.0.5249.6100
Expand All @@ -22,10 +26,6 @@ If you are using Chrome version 105:

PM> Install-Package Selenium.WebDriver.ChromeDriver -Version 105.0.5195.5200

If you are using Chrome version 104:

PM> Install-Package Selenium.WebDriver.ChromeDriver -Version 104.0.5112.7900

To learn what version of ChromeDriver you need to use, please see also the following page:

[https://chromedriver.chromium.org/downloads/version-selection](https://chromedriver.chromium.org/downloads/version-selection)
Expand Down
2 changes: 2 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
107.0.5304.1800
- Chrome Driver 107.0.5304.18 release
106.0.5249.6100
- Chrome Driver 106.0.5249.61 release
106.0.5249.2100
Expand Down
4 changes: 2 additions & 2 deletions TestDrives/TestDrive.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Selenium.WebDriver" Version="4.4.0" />
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="106.0.5249.6100" />
<PackageReference Include="Selenium.WebDriver" Version="4.5.0" />
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="107.0.5304.1800-beta" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion buildTools/download-driver.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# constants
$version = "106.0.5249.61"
$version = "107.0.5304.18"
$downloadUrlBase = "https://chromedriver.storage.googleapis.com"

$drivers = @(
Expand Down
6 changes: 3 additions & 3 deletions src/Selenium.WebDriver.ChromeDriver.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>Selenium.WebDriver.ChromeDriver</id>
<title>Selenium.WebDriver.ChromeDriver (Win32, macOS, macOS arm64, and Linux64)</title>
<version>106.0.5249.6100</version>
<version>107.0.5304.1800-beta</version>
<authors>jsakamoto</authors>
<summary>Selenium Google Chrome Driver (Win32, macOS, macOS arm64, and Linux64) (does not make your source repository too fat.)</summary>
<description>
Expand All @@ -22,8 +22,8 @@
<readme>README.md</readme>
<releaseNotes>
<![CDATA[
106.0.5249.6100
- Chrome Driver 106.0.5249.61 release
107.0.5304.1800
- Chrome Driver 107.0.5304.18 release
To see all the change logs, please visit the following URL.
- https://github.com/jsakamoto/nupkg-selenium-webdriver-chromedriver/blob/master/RELEASE-NOTES.txt
Expand Down
2 changes: 1 addition & 1 deletion test/BuildProjectABTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public async Task Output_of_ProjectB_Contains_DriverFile_Test()
using var workDir = WorkDirectory.CreateCopyFrom(Path.Combine(unitTestProjectDir, "ProjectAB"), item => item.Name is not "obj" and not "bin");

var nuget = Path.Combine(unitTestProjectDir, "..", "buildTools", "nuget.exe");
var devenv = Path.Combine(vsAppDir, "devenv.exe");
var devenv = Path.Combine(vsAppDir, "devenv.com");
await XProcess.Start(nuget, "restore", workDir).ExitCodeIs(0);
await XProcess.Start(devenv, "ProjectAB.sln /Build", workDir).ExitCodeIs(0);

Expand Down
4 changes: 2 additions & 2 deletions test/Project/project.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Selenium.WebDriver" Version="4.4.0" />
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="106.0.5249.6100" />
<PackageReference Include="Selenium.WebDriver" Version="4.5.0" />
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="107.0.5304.1800-beta" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions test/ProjectAB/ProjectA/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Selenium.WebDriver" version="4.4.0" targetFramework="net472" />
<package id="Selenium.WebDriver.ChromeDriver" version="106.0.5249.6100" targetFramework="net472" />
<package id="Selenium.WebDriver" version="4.5.0" targetFramework="net472" />
<package id="Selenium.WebDriver.ChromeDriver" version="107.0.5304.1800-beta" targetFramework="net472" />
</packages>
6 changes: 3 additions & 3 deletions test/ProjectAB/ProjectA/projectA.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="WebDriver, Version=4.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Selenium.WebDriver.4.4.0\lib\net47\WebDriver.dll</HintPath>
<HintPath>..\packages\Selenium.WebDriver.4.5.0\lib\net47\WebDriver.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand All @@ -56,11 +56,11 @@
<Folder Include="Properties\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\Selenium.WebDriver.ChromeDriver.106.0.5249.6100\build\Selenium.WebDriver.ChromeDriver.targets" Condition="Exists('..\packages\Selenium.WebDriver.ChromeDriver.106.0.5249.6100\build\Selenium.WebDriver.ChromeDriver.targets')" />
<Import Project="..\packages\Selenium.WebDriver.ChromeDriver.107.0.5304.1800-beta\build\Selenium.WebDriver.ChromeDriver.targets" Condition="Exists('..\packages\Selenium.WebDriver.ChromeDriver.107.0.5304.1800-beta\build\Selenium.WebDriver.ChromeDriver.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\Selenium.WebDriver.ChromeDriver.106.0.5249.6100\build\Selenium.WebDriver.ChromeDriver.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Selenium.WebDriver.ChromeDriver.106.0.5249.6100\build\Selenium.WebDriver.ChromeDriver.targets'))" />
<Error Condition="!Exists('..\packages\Selenium.WebDriver.ChromeDriver.107.0.5304.1800-beta\build\Selenium.WebDriver.ChromeDriver.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Selenium.WebDriver.ChromeDriver.107.0.5304.1800-beta\build\Selenium.WebDriver.ChromeDriver.targets'))" />
</Target>
</Project>

0 comments on commit 848e034

Please sign in to comment.