Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
9087267
Add more nuget package metainfo
nvborisenko Oct 5, 2023
51237c4
Adjust bazel target names
nvborisenko Oct 5, 2023
4ceea02
Run build job on ubuntu
nvborisenko Oct 5, 2023
0beab66
Revert "Run build job on ubuntu"
nvborisenko Oct 5, 2023
cae7793
Hack to make bazel + nuget work on GitHub actions linux+macos
nvborisenko Oct 5, 2023
9b545f4
Merge remote-tracking branch 'upstream/trunk' into dotnet-nuget-meta
nvborisenko Oct 5, 2023
ae715a9
Fix csproj to work with new assets folder
nvborisenko Oct 6, 2023
d4e0aa4
Fix CI .NET Build flow
nvborisenko Oct 7, 2023
9451c28
Revert "Fix CI .NET Build flow"
nvborisenko Oct 7, 2023
a417886
Merge branch 'trunk' into dotnet-nuget-meta
nvborisenko Oct 7, 2023
9f00298
Make build of support lib visible upstream
nvborisenko Oct 7, 2023
2dac609
Merge branch 'dotnet-nuget-meta' of https://github.com/nvborisenko/se…
nvborisenko Oct 7, 2023
d466863
Run all tests on github actions
nvborisenko Oct 7, 2023
4c64275
Merge branch 'trunk' into dotnet-nuget-meta
titusfortner Oct 8, 2023
23fb78e
Fix reference to target file in tests project
nvborisenko Oct 9, 2023
4dd10b1
Merge branch 'trunk' into dotnet-nuget-meta
titusfortner Oct 9, 2023
b025a6c
Merge remote-tracking branch 'upstream/trunk' into dotnet-nuget-meta
nvborisenko Oct 17, 2023
6425310
Merge branch 'trunk' into dotnet-nuget-meta
titusfortner Oct 17, 2023
64622f3
Revert bazel related changes
nvborisenko Oct 17, 2023
59030e0
Merge branch 'trunk' into dotnet-nuget-meta
titusfortner Oct 17, 2023
ae176d8
More reverted changes
nvborisenko Oct 17, 2023
dcf8e76
Return back framework ref to system.drawing in support package
nvborisenko Oct 17, 2023
b93eb91
Fix link to specific tagged version
nvborisenko Oct 26, 2023
35ddd4a
Return back link to trunk
nvborisenko Oct 26, 2023
8e72b1c
Merge branch 'trunk' into dotnet-nuget-meta
nvborisenko Oct 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dotnet/src/support/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ csharp_library(
nuget_pack(
name = "support",
files = {
"//common/images:selenium_logo_small.png": "images/icon.png",
"//common/images:selenium_logo_small.png": "icon.png",
},
id = "Selenium.Support",
libs = {
Expand Down Expand Up @@ -91,7 +91,7 @@ csharp_library(
nuget_pack(
name = "support-strongnamed",
files = {
"//common/images:selenium_logo_small.png": "images/icon.png",
"//common/images:selenium_logo_small.png": "icon.png",
},
id = "Selenium.Support.StrongNamed",
libs = {
Expand Down
18 changes: 7 additions & 11 deletions dotnet/src/support/WebDriver.Support.StrongNamed.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,23 @@
<id>$packageid$</id>
<version>$version$</version>
<authors>Selenium Committers</authors>
<copyright>Copyright © 2020 Software Freedom Conservancy</copyright>
<copyright>Copyright © 2023 Software Freedom Conservancy</copyright>
<owners>selenium</owners>
<title>WebDriver Support</title>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>Provides support classes for Selenium WebDriver</summary>
<description>
Selenium is a set of different software tools each with a different approach
to supporting browser automation. These tools are highly flexible, allowing
many options for locating and manipulating elements within a browser, and one
of its key features is the support for automating multiple browser platforms.
This package contains .NET support utilites and classes that users may find
useful in using Selenium WebDriver. These support classes are mainly intended
to spark ideas of what is possible with Selenium WebDriver, and may not be
entirely appropriate for production use.
Selenium is a set of different software tools each with a different approach to supporting browser automation. These tools are highly flexible, allowing many options for locating and manipulating elements within a browser, and one of its key features is the support for automating multiple browser platforms. This package contains the .NET bindings for the concise and object-based Selenium WebDriver API, which uses native OS-level events to manipulate the browser, bypassing the JavaScript sandbox, and does not require the Selenium Server to automate the browser.
</description>
<projectUrl>https://selenium.dev</projectUrl>
<repository url="https://github.com/SeleniumHQ/selenium" />
<repository type="GitHub" url="https://github.com/SeleniumHQ/selenium" />
<license type="expression">Apache-2.0</license>
<iconUrl>https://selenium.dev/images/selenium_logo_square_green.png</iconUrl>
<icon>images\icon.png</icon>
<icon>icon.png</icon>
<tags>selenium webdriver support browser automation</tags>
<releaseNotes>
See the latest changes, included in this release, at https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/CHANGELOG.
</releaseNotes>
<dependencies>
<group targetFramework="netstandard2.0">
<dependency id="Selenium.WebDriver.StrongNamed" version="$version$" exclude="Build,Analyzers" />
Expand Down
18 changes: 7 additions & 11 deletions dotnet/src/support/WebDriver.Support.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,23 @@
<id>$packageid$</id>
<version>$version$</version>
<authors>Selenium Committers</authors>
<copyright>Copyright © 2020 Software Freedom Conservancy</copyright>
<copyright>Copyright © 2023 Software Freedom Conservancy</copyright>
<owners>selenium</owners>
<title>WebDriver Support</title>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>Provides support classes for Selenium WebDriver</summary>
<description>
Selenium is a set of different software tools each with a different approach
to supporting browser automation. These tools are highly flexible, allowing
many options for locating and manipulating elements within a browser, and one
of its key features is the support for automating multiple browser platforms.
This package contains .NET support utilites and classes that users may find
useful in using Selenium WebDriver. These support classes are mainly intended
to spark ideas of what is possible with Selenium WebDriver, and may not be
entirely appropriate for production use.
Selenium is a set of different software tools each with a different approach to supporting browser automation. These tools are highly flexible, allowing many options for locating and manipulating elements within a browser, and one of its key features is the support for automating multiple browser platforms. This package contains the .NET bindings for the concise and object-based Selenium WebDriver API, which uses native OS-level events to manipulate the browser, bypassing the JavaScript sandbox, and does not require the Selenium Server to automate the browser.
</description>
<projectUrl>https://selenium.dev</projectUrl>
<repository url="https://github.com/SeleniumHQ/selenium" />
<repository type="GitHub" url="https://github.com/SeleniumHQ/selenium" />
<license type="expression">Apache-2.0</license>
<iconUrl>https://selenium.dev/images/selenium_logo_square_green.png</iconUrl>
<icon>images\icon.png</icon>
<icon>icon.png</icon>
<tags>selenium webdriver support browser automation</tags>
<releaseNotes>
See the latest changes, included in this release, at https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/CHANGELOG.
</releaseNotes>
<dependencies>
<group targetFramework="netstandard2.0">
<dependency id="Selenium.WebDriver" version="$version$" exclude="Build,Analyzers" />
Expand Down
16 changes: 12 additions & 4 deletions dotnet/src/webdriver/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -82,25 +82,32 @@ csharp_library(
],
)

copy_file(
name = "readme",
src = "//dotnet/src/webdriver/assets:README.md",
out = "README.md",
)

copy_file(
name = "props",
src = "//dotnet/src/webdriver/build:Selenium.WebDriver.targets",
src = "//dotnet/src/webdriver/assets:Selenium.WebDriver.targets",
out = "Selenium.WebDriver.targets",
)

copy_file(
name = "transitive-props",
src = "//dotnet/src/webdriver/build:Selenium.WebDriver.targets",
src = "//dotnet/src/webdriver/assets:Selenium.WebDriver.targets",
out = "transitive.Selenium.WebDriver.targets",
)

nuget_pack(
name = "webdriver",
files = {
"//common/images:selenium_logo_small.png": "images/icon.png",
"//common/images:selenium_logo_small.png": "icon.png",
"//common/manager:selenium-manager-linux": "manager/linux/selenium-manager",
"//common/manager:selenium-manager-macos": "manager/macos/selenium-manager",
"//common/manager:selenium-manager-windows": "manager/windows/selenium-manager.exe",
":readme": "README.md",
":props": "build/Selenium.WebDriver.targets",
":transitive-props": "buildTransitive/Selenium.WebDriver.targets",
},
Expand All @@ -121,10 +128,11 @@ nuget_pack(
nuget_pack(
name = "webdriver-strongnamed",
files = {
"//common/images:selenium_logo_small.png": "images/icon.png",
"//common/images:selenium_logo_small.png": "icon.png",
"//common/manager:selenium-manager-linux": "manager/linux/selenium-manager",
"//common/manager:selenium-manager-macos": "manager/macos/selenium-manager",
"//common/manager:selenium-manager-windows": "manager/windows/selenium-manager.exe",
":readme": "README.md",
":props": "build/Selenium.WebDriver.StrongNamed.targets",
":transitive-props": "buildTransitive/Selenium.WebDriver.StrongNamed.targets",
},
Expand Down
19 changes: 8 additions & 11 deletions dotnet/src/webdriver/WebDriver.StrongNamed.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,24 @@
<id>$packageid$</id>
<version>$version$</version>
<authors>Selenium Committers</authors>
<copyright>Copyright © 2020 Software Freedom Conservancy</copyright>
<copyright>Copyright © 2023 Software Freedom Conservancy</copyright>
<owners>selenium</owners>
<title>Selenium WebDriver</title>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>.NET bindings for the Selenium WebDriver API</summary>
<description>
Selenium is a set of different software tools each with a different approach
to supporting browser automation. These tools are highly flexible, allowing
many options for locating and manipulating elements within a browser, and one
of its key features is the support for automating multiple browser platforms.
This package contains the .NET bindings for the concise and object-based
Selenium WebDriver API, which uses native OS-level events to manipulate the
browser, bypassing the JavaScript sandbox, and does not require the Selenium
Server to automate the browser.
Selenium is a set of different software tools each with a different approach to supporting browser automation. These tools are highly flexible, allowing many options for locating and manipulating elements within a browser, and one of its key features is the support for automating multiple browser platforms. This package contains the .NET bindings for the concise and object-based Selenium WebDriver API, which uses native OS-level events to manipulate the browser, bypassing the JavaScript sandbox, and does not require the Selenium Server to automate the browser.
</description>
<projectUrl>https://selenium.dev</projectUrl>
<repository url="https://github.com/SeleniumHQ/selenium" />
<repository type="GitHub" url="https://github.com/SeleniumHQ/selenium" />
<license type="expression">Apache-2.0</license>
<iconUrl>https://selenium.dev/images/selenium_logo_square_green.png</iconUrl>
<icon>images\icon.png</icon>
<icon>icon.png</icon>
<tags>selenium webdriver browser automation</tags>
<readme>README.md</readme>
<releaseNotes>
See the latest changes, included in this release, at https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/CHANGELOG.
</releaseNotes>
<dependencies>
<group targetFramework="netstandard2.0">
<dependency id="Newtonsoft.Json" version="13.0.1" exclude="Build,Analyzers" />
Expand Down
11 changes: 4 additions & 7 deletions dotnet/src/webdriver/WebDriver.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,16 @@

<PropertyGroup>
<BaseSeleniumManagerPath>..\..\..\common\manager</BaseSeleniumManagerPath>
</PropertyGroup>

<PropertyGroup>
<BaseImagePath>..\..\..\common\images</BaseImagePath>
</PropertyGroup>

<ItemGroup>
<None Include="build\Selenium.WebDriver.targets" Pack="true" PackagePath="build\" />
<None Include="build\Selenium.WebDriver.targets" Pack="true" PackagePath="buildTransitive\" />
<None Include="assets\Selenium.WebDriver.targets" Pack="true" PackagePath="build\" />
<None Include="assets\Selenium.WebDriver.targets" Pack="true" PackagePath="buildTransitive\" />

<None Include="$(BaseImagePath)\selenium_logo_small.png" Pack="true" PackagePath="\logo.png" Visible="false" />
<None Include="$(BaseImagePath)\selenium_logo_small.png" Pack="true" PackagePath="logo.png" Visible="false" />

<None Include="$(BaseSeleniumManagerPath)\linux\selenium-manager" Pack="true" PackagePath="\manager\linux" Visible="false" />
<None Include="$(BaseSeleniumManagerPath)\linux\selenium-manager" Pack="true" PackagePath="manager\linux" Visible="false" />
<None Include="$(BaseSeleniumManagerPath)\macos\selenium-manager" Pack="true" PackagePath="manager\macos" Visible="false" />
<None Include="$(BaseSeleniumManagerPath)\windows\selenium-manager.exe" Pack="true" PackagePath="manager\windows" Visible="false" />
</ItemGroup>
Expand Down
19 changes: 8 additions & 11 deletions dotnet/src/webdriver/WebDriver.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,24 @@
<id>$packageid$</id>
<version>$version$</version>
<authors>Selenium Committers</authors>
<copyright>Copyright © 2020 Software Freedom Conservancy</copyright>
<copyright>Copyright © 2023 Software Freedom Conservancy</copyright>
<owners>selenium</owners>
<title>Selenium WebDriver</title>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>.NET bindings for the Selenium WebDriver API</summary>
<description>
Selenium is a set of different software tools each with a different approach
to supporting browser automation. These tools are highly flexible, allowing
many options for locating and manipulating elements within a browser, and one
of its key features is the support for automating multiple browser platforms.
This package contains the .NET bindings for the concise and object-based
Selenium WebDriver API, which uses native OS-level events to manipulate the
browser, bypassing the JavaScript sandbox, and does not require the Selenium
Server to automate the browser.
Selenium is a set of different software tools each with a different approach to supporting browser automation. These tools are highly flexible, allowing many options for locating and manipulating elements within a browser, and one of its key features is the support for automating multiple browser platforms. This package contains the .NET bindings for the concise and object-based Selenium WebDriver API, which uses native OS-level events to manipulate the browser, bypassing the JavaScript sandbox, and does not require the Selenium Server to automate the browser.
</description>
<projectUrl>https://selenium.dev</projectUrl>
<repository url="https://github.com/SeleniumHQ/selenium" />
<repository type="GitHub" url="https://github.com/SeleniumHQ/selenium" />
<license type="expression">Apache-2.0</license>
<iconUrl>https://selenium.dev/images/selenium_logo_square_green.png</iconUrl>
<icon>images\icon.png</icon>
<icon>icon.png</icon>
<tags>selenium webdriver browser automation</tags>
<readme>README.md</readme>
<releaseNotes>
See the latest changes, included in this release, at https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/CHANGELOG.
</releaseNotes>
<dependencies>
<group targetFramework="netstandard2.0">
<dependency id="Newtonsoft.Json" version="13.0.1" exclude="Build,Analyzers" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
exports_files([
"README.md",
"Selenium.WebDriver.targets",
])
19 changes: 19 additions & 0 deletions dotnet/src/webdriver/assets/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Selenium is a set of different software tools each with a different approach to supporting browser automation. These tools are highly flexible, allowing many options for locating and manipulating elements within a browser, and one of its key features is the support for automating multiple browser platforms. This package contains the .NET bindings for the concise and object-based Selenium WebDriver API, which uses native OS-level events to manipulate the browser, bypassing the JavaScript sandbox, and does not require the Selenium Server to automate the browser.

# Usage

```csharp
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium;

var driver = new ChromeDriver();

driver.Url = "https://www.google.com";
driver.FindElement(By.Name("q")).SendKeys("webdriver" + Keys.Return);
Console.WriteLine(driver.Title);

driver.Quit();
```

# Contributing
Contributions are accepted either through [GitHub](https://github.com/SeleniumHQ/selenium/) pull requests or patches via the [Selenium issue tracker](https://github.com/SeleniumHQ/selenium/issues).
2 changes: 1 addition & 1 deletion dotnet/test/common/WebDriver.Common.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@
<PropertyGroup>
<Selenium_Manager_BinariesRootPath>..\..\..\common\manager</Selenium_Manager_BinariesRootPath>
</PropertyGroup>
<Import Project="..\..\src\webdriver\build\Selenium.WebDriver.targets" />
<Import Project="..\..\src\webdriver\assets\Selenium.WebDriver.targets" />

</Project>