Skip to content

Commit e915386

Browse files
committed
Update selenium
1 parent a295f95 commit e915386

File tree

8 files changed

+324
-94
lines changed

8 files changed

+324
-94
lines changed

eng/Versions.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,9 @@
310310
<MicrosoftPlaywrightVersion>1.28.0</MicrosoftPlaywrightVersion>
311311
<PollyExtensionsHttpVersion>3.0.0</PollyExtensionsHttpVersion>
312312
<PollyVersion>7.2.4</PollyVersion>
313-
<SeleniumSupportVersion>4.10.0</SeleniumSupportVersion>
314-
<SeleniumWebDriverChromeDriverVersion>114.0.5735.9000</SeleniumWebDriverChromeDriverVersion>
315-
<SeleniumWebDriverVersion>4.10.0</SeleniumWebDriverVersion>
313+
<SeleniumSupportVersion>4.12.2</SeleniumSupportVersion>
314+
<SeleniumWebDriverChromeDriverVersion>116.0.5845.9600</SeleniumWebDriverChromeDriverVersion>
315+
<SeleniumWebDriverVersion>4.12.2</SeleniumWebDriverVersion>
316316
<SerilogExtensionsLoggingVersion>1.4.0</SerilogExtensionsLoggingVersion>
317317
<SerilogSinksFileVersion>4.0.0</SerilogSinksFileVersion>
318318
<StackExchangeRedisVersion>2.6.122</StackExchangeRedisVersion>

src/Components/test/E2ETest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"license": "MIT",
1414
"dependencies": {
1515
"sauce-connect-launcher": "^1.3.1",
16-
"selenium-standalone": "^7.1.0"
16+
"selenium-standalone": "^9.1.1"
1717
},
1818
"devDependencies": {
1919
"@types/node": "^13.1.7",

src/Components/test/E2ETest/yarn.lock

Lines changed: 313 additions & 84 deletions
Large diffs are not rendered by default.

src/ProjectTemplates/Web.ProjectTemplates/content/RazorClassLibrary-CSharp/.template.config/localize/templatestrings.en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"author": "Microsoft",
33
"name": "Razor Class Library",
4-
"description": "A project for creating a Razor class library that targets .NET Standard",
4+
"description": "A project for creating a Razor class library that targets .NET",
55
"symbols/Framework/description": "The target framework for the project.",
66
"symbols/Framework/choices/net8.0/description": "Target net8.0",
77
"_symbols/Framework/choices/net8.0/description.comment": "{Locked='net8.0'}",

src/ProjectTemplates/test/Templates.Tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
"author": "",
1212
"license": "MIT",
1313
"dependencies": {
14-
"selenium-standalone": "^7.1.0"
14+
"selenium-standalone": "^9.1.1"
1515
}
1616
}

src/Shared/E2ETesting/E2ETesting.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
<PropertyGroup>
5353
<_PackageJsonLinesContent>@(_PackageJsonLines)</_PackageJsonLinesContent>
54-
<_PackageJsonSeleniumPackage>&quot;selenium-standalone&quot;: &quot;^7.1.0&quot;</_PackageJsonSeleniumPackage>
54+
<_PackageJsonSeleniumPackage>&quot;selenium-standalone&quot;: &quot;^9.1.1&quot;</_PackageJsonSeleniumPackage>
5555
</PropertyGroup>
5656

5757
<Error

src/Shared/E2ETesting/SeleniumStandaloneServer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public static async Task<SeleniumStandaloneServer> GetInstanceAsync(ITestOutputH
8585
private static async Task InitializeInstance(ITestOutputHelper output)
8686
{
8787
var port = FindAvailablePort();
88-
var uri = new UriBuilder("http", SeleniumHost, port, "/wd/hub").Uri;
88+
var uri = new UriBuilder("http", SeleniumHost, port).Uri;
8989

9090
var seleniumConfigPath = typeof(SeleniumStandaloneServer).Assembly
9191
.GetCustomAttributes<AssemblyMetadataAttribute>()
@@ -111,7 +111,7 @@ private static async Task InitializeInstance(ITestOutputHelper output)
111111
var psi = new ProcessStartInfo
112112
{
113113
FileName = "npm",
114-
Arguments = $"run selenium-standalone start -- --config \"{seleniumConfigPath}\" {chromeDriverArg} -- -host {SeleniumHost} -port {port}",
114+
Arguments = $"run selenium-standalone start -- --config \"{seleniumConfigPath}\" {chromeDriverArg} -- --host {SeleniumHost} --port {port}",
115115
RedirectStandardOutput = true,
116116
RedirectStandardError = true,
117117
};

src/Shared/E2ETesting/selenium-config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2+
"version": "4.12.0",
23
"drivers": {
34
"chrome": {
4-
"version" : "114.0.5735.90"
5+
"version" : "116.0.5845.96"
56
}
67
},
78
"ignoreExtraDrivers": true

0 commit comments

Comments
 (0)