Skip to content

Commit

Permalink
Merge branch 'trunk' into py_client_config_new
Browse files Browse the repository at this point in the history
  • Loading branch information
VietND96 authored Oct 17, 2024
2 parents 35995bc + a98248d commit 9aede55
Show file tree
Hide file tree
Showing 70 changed files with 1,147 additions and 11,026 deletions.
9 changes: 4 additions & 5 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ bazel_dep(name = "protobuf", version = "21.7", dev_dependency = True, repo_name
# Required for rules_rust to import the crates properly
bazel_dep(name = "rules_cc", version = "0.0.9", dev_dependency = True)

bazel_dep(name = "rules_dotnet", version = "0.15.1")
bazel_dep(name = "rules_dotnet", version = "0.16.0")
bazel_dep(name = "rules_java", version = "7.11.1")
bazel_dep(name = "rules_jvm_external", version = "6.3")
bazel_dep(name = "rules_nodejs", version = "6.2.0")
bazel_dep(name = "rules_nodejs", version = "6.3.0")
bazel_dep(name = "rules_oci", version = "1.7.6")
bazel_dep(name = "rules_pkg", version = "0.10.1")
bazel_dep(name = "rules_python", version = "0.33.0")
Expand Down Expand Up @@ -76,7 +76,7 @@ rules_ts_ext.deps(
use_repo(rules_ts_ext, "npm_typescript")

esbuild = use_extension("@aspect_rules_esbuild//esbuild:extensions.bzl", "esbuild")
esbuild.toolchain(esbuild_version = "0.19.9")
esbuild.toolchain(esbuild_version = "0.23.0")
use_repo(esbuild, "esbuild_toolchains")

register_toolchains("@esbuild_toolchains//:all")
Expand Down Expand Up @@ -178,8 +178,7 @@ maven.install(
"com.google.auto.service:auto-service:1.1.1",
"com.google.auto.service:auto-service-annotations:1.1.1",
"com.google.googlejavaformat:google-java-format:jar:1.23.0",
"com.graphql-java:graphql-java:20.2",
"com.graphql-java:java-dataloader:3.2.0",
"com.graphql-java:graphql-java:22.3",
"dev.failsafe:failsafe:3.3.2",
"io.grpc:grpc-context:1.66.0",
"io.lettuce:lettuce-core:6.4.0.RELEASE",
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Selenium

[![CI](https://github.com/SeleniumHQ/selenium/actions/workflows/ci.yml/badge.svg?branch=trunk&event=schedule)](https://github.com/SeleniumHQ/selenium/actions/workflows/ci.yml)
[![Releases downloads](https://img.shields.io/github/downloads/SeleniumHQ/selenium/total.svg)](https://github.com/SeleniumHQ/selenium/releases)

<a href="https://selenium.dev"><img src="common/images/selenium_logo_mark_green.svg" width="180" alt="Selenium Logo"/></a>

Expand Down
5 changes: 1 addition & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,6 @@ namespace :node do
new_version = updated_version(old_version, arguments[:version], nightly)

['javascript/node/selenium-webdriver/package.json',
'package-lock.json',
'javascript/node/selenium-webdriver/BUILD.bazel'].each do |file|
text = File.read(file).gsub(old_version, new_version)
File.open(file, 'w') { |f| f.puts text }
Expand Down Expand Up @@ -1050,8 +1049,7 @@ namespace :all do
'py/BUILD.bazel',
'py/setup.py',
'rb/lib/selenium/webdriver/version.rb',
'rb/Gemfile.lock',
'package-lock.json'])
'rb/Gemfile.lock'])

print 'Do you want to push the committed changes? (Y/n): '
response = $stdin.gets.chomp.downcase
Expand Down Expand Up @@ -1106,7 +1104,6 @@ namespace :all do
'java/version.bzl',
'javascript/node/selenium-webdriver/CHANGES.md',
'javascript/node/selenium-webdriver/package.json',
'package-lock.json',
'py/docs/source/conf.py',
'py/selenium/__init__.py',
'py/selenium/webdriver/__init__.py',
Expand Down
12 changes: 0 additions & 12 deletions dotnet/src/support/UI/LoadableComponentException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public LoadableComponentException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="LoadableComponentException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected LoadableComponentException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/support/UI/UnexpectedTagNameException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,5 @@ public UnexpectedTagNameException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="UnexpectedTagNameException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected UnexpectedTagNameException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
2 changes: 2 additions & 0 deletions dotnet/src/webdriver/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ csharp_library(
framework("nuget", "Microsoft.Bcl.AsyncInterfaces"),
framework("nuget", "System.Threading.Tasks.Extensions"),
framework("nuget", "System.Memory"),
framework("nuget", "System.Text.Encodings.Web"),
framework("nuget", "System.Text.Json"),
],
)
Expand Down Expand Up @@ -119,6 +120,7 @@ csharp_library(
framework("nuget", "Microsoft.Bcl.AsyncInterfaces"),
framework("nuget", "System.Threading.Tasks.Extensions"),
framework("nuget", "System.Memory"),
framework("nuget", "System.Text.Encodings.Web"),
framework("nuget", "System.Text.Json"),
],
)
Expand Down
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/DetachedShadowRootException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public DetachedShadowRootException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="DetachedShadowRootException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected DetachedShadowRootException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/DriverServiceNotFoundException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public DriverServiceNotFoundException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="DriverServiceNotFoundException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected DriverServiceNotFoundException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/ElementClickInterceptedException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public ElementClickInterceptedException(string message, Exception innerException
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="ElementNotInteractableException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected ElementClickInterceptedException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/ElementNotInteractableException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public ElementNotInteractableException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="ElementNotInteractableException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected ElementNotInteractableException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/ElementNotSelectableException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public ElementNotSelectableException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="ElementNotInteractableException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected ElementNotSelectableException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/ElementNotVisibleException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public ElementNotVisibleException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="ElementNotVisibleException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected ElementNotVisibleException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/InsecureCertificateException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public InsecureCertificateException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="InsecureCertificateException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected InsecureCertificateException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/InvalidCookieDomainException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public InvalidCookieDomainException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="InvalidCookieDomainException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected InvalidCookieDomainException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/InvalidElementStateException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public InvalidElementStateException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="InvalidElementStateException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected InvalidElementStateException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/InvalidSelectorException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,6 @@ public InvalidSelectorException(string message, Exception innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="InvalidSelectorException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected InvalidSelectorException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}

/// <summary>
/// Add information about obtaining additional support from documentation to this exception.
/// </summary>
Expand Down
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/JavaScriptException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public JavaScriptException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="JavaScriptException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected JavaScriptException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/MoveTargetOutOfBoundsException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,5 @@ public MoveTargetOutOfBoundsException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="MoveTargetOutOfBoundsException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected MoveTargetOutOfBoundsException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/NoAlertPresentException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,5 @@ public NoAlertPresentException(string message, Exception innerException)
: base(message, innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="NoAlertPresentException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected NoAlertPresentException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/NoSuchDriverException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,6 @@ public NoSuchDriverException(string message, Exception innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="NoSuchDriverException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected NoSuchDriverException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}

/// <summary>
/// Add information about obtaining additional support from documentation to this exception.
/// </summary>
Expand Down
12 changes: 0 additions & 12 deletions dotnet/src/webdriver/NoSuchElementException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,6 @@ public NoSuchElementException(string message, Exception innerException)
{
}

/// <summary>
/// Initializes a new instance of the <see cref="NoSuchElementException"/> class with serialized data.
/// </summary>
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized
/// object data about the exception being thrown.</param>
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual
/// information about the source or destination.</param>
protected NoSuchElementException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}

/// <summary>
/// Add information about obtaining additional support from documentation to this exception.
/// </summary>
Expand Down
Loading

0 comments on commit 9aede55

Please sign in to comment.