Skip to content

Commit 2f381f3

Browse files
committed
Tidy-up ahead of publishing 2.0.0 beta 2
1 parent ccfcfee commit 2f381f3

4 files changed

Lines changed: 13 additions & 9 deletions

File tree

.appveyor.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ init:
44
- cmd: git config --global core.autocrlf true
55
before_build:
66
- dotnet tool update -g docfx
7-
# I need to install ChromeDriver from Chcolatey because the preinstalled ChromeDriver is
8-
# not compatible with the Chrome browser version installed by the Visual Studio 2022 image
9-
# This originally caused tests to fail and also to hang, which caused issue #47.
10-
- choco install chromedriver
11-
- cmd: PATH=C:\ProgramData\chocolatey\lib\chromedriver\tools\chromedriver-win32;%PATH%
127
build_script:
138
- dotnet build
149
- docfx CSF.Extensions.WebDriver.Docs\docfx.json

CSF.Extensions.WebDriver.Tests/CSF.Extensions.WebDriver.Tests.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.0" />
2424
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
2525
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
26+
<!-- Floating version should keep ChromeDriver up to date with the browser on the OS. See #47 for more info. -->
27+
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="*" />
2628
</ItemGroup>
2729

2830
<ItemGroup>

CSF.Extensions.WebDriver/CSF.Extensions.WebDriver.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<TargetFrameworks>netstandard2.0;net8.0;net462</TargetFrameworks>
55
<RootNamespace>CSF.Extensions.WebDriver</RootNamespace>
66
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
7+
<VersionPrefix>2.0.0</VersionPrefix>
8+
<PackageReadmeFile>README.md</PackageReadmeFile>
79
</PropertyGroup>
810

911
<ItemGroup>
@@ -13,8 +15,13 @@
1315
<PackageReference Include="Microsoft.Extensions.Options" Version="6.0.0" />
1416
<PackageReference Include="Selenium.WebDriver" Version="4.0.0" />
1517
<PackageReference Include="Semver " Version="2.3.0" />
16-
<PackageReference Include="Castle.Core" Version="5.1.1" />
18+
<PackageReference Include="Castle.Core" Version="4.0.0" />
19+
<PackageReference Include="System.ComponentModel.TypeConverter" Version="4.1.0" />
1720
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" Condition="'$(TargetFramework)' == 'net462'" />
1821
</ItemGroup>
1922

23+
<ItemGroup>
24+
<None Include="..\README.md" Pack="true" PackagePath="\" />
25+
</ItemGroup>
26+
2027
</Project>

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# WebDriver extensions
22

33
This small library provides some utility functionality for **[Selenium WebDriver]**.
4-
These features may be used individually or together.
4+
These features may be used individually or together.
55

66
* [A universal WebDriver factory]
77
* [A mechanism for dealing with browser-specific quirks]
@@ -25,7 +25,7 @@ The types in this library integrate with some commonly-used .NET technologies:
2525

2626
This functionality may be especially useful to those who are interested in using Selenium with a wide range of browsers and/or WebDriver implementations.
2727

28-
* The universal factory allows you to keep your target WebDriver/browser configurations out of code.
28+
* The universal factory allows you to keep your target WebDriver/browser configurations out of code.
2929
* The quirks mechanism allows for fine-grained and tightly-targeted application of workarounds for differences in behaviour or limitations which are specific to a small number of browser/driver/version ranges.
30-
* The use of configuration data here allows for quick configuration-based override of which browsers/versions are affected by which quirks. This is useful as browser versions are released at high velocity and _things change_.
30+
* The use of configuration data here allows for quick configuration-based override of which browsers/versions are affected by which quirks. This is useful as browser versions are released at high velocity and _things change_.
3131
* The browser identification mechanism is primarily a dependency of the quirks mechanism but may be used standalone.

0 commit comments

Comments
 (0)