Update browser testing dependencies: Selenium 4.40.0, Playwright 1.57.0#65304
Update browser testing dependencies: Selenium 4.40.0, Playwright 1.57.0#65304
Conversation
- Update Selenium.WebDriver from 4.38.0 to 4.40.0 - Update Selenium.Support from 4.38.0 to 4.40.0 - Update Microsoft.Playwright from 1.56.0 to 1.57.0 - Update Playwright Docker image from v1.56.0 to v1.57.0 Co-authored-by: halter73 <54385+halter73@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates browser automation dependencies used by E2E tests and benchmark infrastructure to keep tooling current and ensure the Playwright NuGet package version aligns with the Playwright Docker image used for benchmarks.
Changes:
- Bump
Selenium.WebDriverandSelenium.Supportversions from 4.38.0 to 4.40.0. - Bump
Microsoft.Playwrightversion from 1.56.0 to 1.57.0. - Update the Wasm.Performance benchmark Docker image tag to
mcr.microsoft.com/playwright/dotnet:v1.57.0-jammy-amd64.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| eng/Versions.props | Updates centralized version properties for Selenium and Playwright packages. |
| src/Components/benchmarkapps/Wasm.Performance/dockerfile | Updates Playwright Docker base image tag to match the Playwright package version. |
Was there an API change in Selenium (in a patch?)? |
halter73
left a comment
There was a problem hiding this comment.
D:\a_work\1\s\src\Components\test\E2ETest\ServerExecutionTests\ServerReconnectionWithoutStateTest.cs(14,28): error CS0234: The type or namespace name 'Communication' does not exist in the namespace 'OpenQA.Selenium.BiDi' (are you missing an assembly reference?) [D:\a_work\1\s\src\Components\test\E2ETest\Microsoft.AspNetCore.Components.E2ETests.csproj]
Was there an API change in Selenium (in a patch?)?
@copilot Can you track down if there were any breaking API changes to selenium and, if so, react to it in the ServerReconnectionWithoutStateTest?
…namespace Update using statements to use OpenQA.Selenium.BiDi instead of OpenQA.Selenium.BiDi.Communication which was removed in Selenium 4.40.0 Co-authored-by: halter73 <54385+halter73@users.noreply.github.com>
Head branch was pushed to by a user without write access
Yes, Selenium 4.40.0 introduced a breaking change that removed the |
Update browser testing dependencies: Selenium 4.40.0, Playwright 1.57.0
Update Selenium and Playwright to latest stable versions and fix Selenium 4.40.0 breaking changes.
Description
Updates browser automation dependencies across E2E tests and benchmarking infrastructure:
Selenium.WebDriver,Selenium.Support)Files modified:
eng/Versions.props: Package version propertiessrc/Components/benchmarkapps/Wasm.Performance/dockerfile: Docker image tagsrc/Components/test/E2ETest/ServerExecutionTests/ServerReconnectionWithoutStateTest.cs: Fixed BiDi namespace importsrc/Components/test/E2ETest/ServerExecutionTests/ServerResumeWithExpiredStateTest.cs: Fixed BiDi namespace importsrc/Components/test/E2ETest/ServerRenderingTests/EnhancedNavigationTest.cs: Fixed BiDi namespace importEnsures Playwright package version matches Docker image version for consistent benchmark execution environment.
Selenium 4.40.0 Breaking Change: The
OpenQA.Selenium.BiDi.Communicationnamespace was removed as part of Selenium's refactoring to align with W3C WebDriver BiDi standards. Updated all affected test files to useOpenQA.Selenium.BiDiinstead.cc @dotnet/aspnet-build
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.