Skip to content

Update dependency selenium to v4.33.0 #2293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 27, 2025
Merged

Update dependency selenium to v4.33.0 #2293

merged 8 commits into from
May 27, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 2, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
selenium ==4.31.0 -> ==4.33.0 age adoption passing confidence

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

netlify bot commented May 2, 2025

Deploy Preview for selenium-dev ready!

Name Link
🔨 Latest commit 706c495
🔍 Latest deploy log https://app.netlify.com/projects/selenium-dev/deploys/68360991015c710008872070
😎 Deploy Preview https://deploy-preview-2293--selenium-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

qodo-merge-pro bot commented May 2, 2025

CI Feedback 🧐

(Feedback updated until commit 706c495)

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: tests (windows, stable)

Failed stage: Run tests [❌]

Failed test name: SeleniumDocs.Browsers.ChromeTest.InstallExtension

Failure summary:

The action failed because of failing tests in the Selenium .NET test suite:

1. SeleniumDocs.Browsers.ChromeTest.InstallExtension test consistently failed across all three retry
attempts with a NoSuchElementException. The test was unable to locate an element with the CSS
selector #webextensions-selenium-example.

2. In the second attempt, an additional test
SeleniumDocs.ActionsAPI.MouseTest.MoveByOffsetFromViewport also failed at line 153 with an
Assert.IsTrue failure.

The command dotnet test in the SeleniumDocs directory exited with error code 1 after all three retry
attempts.

Relevant error logs:
1:  ##[group]Operating System
2:  Microsoft Windows Server 2022
...

198:  Version: 11.0.27+6
199:  Path: C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\11.0.27-6\x64
200:  ##[endgroup]
201:  Creating settings.xml with server-id: github
202:  Writing to C:\Users\runneradmin\.m2\settings.xml
203:  ##[group]Run nick-fields/retry@v3.0.2
204:  with:
205:  timeout_minutes: 20
206:  max_attempts: 3
207:  command: cd examples/dotnet/SeleniumDocs
208:  dotnet test
209:  
210:  retry_wait_seconds: 10
211:  polling_interval_seconds: 1
212:  warning_on_retry: true
213:  continue_on_error: false
214:  env:
...

217:  GH_TOKEN: ***
218:  DOTNET_ROOT: C:\Program Files\dotnet
219:  JAVA_HOME: C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\11.0.27-6\x64
220:  JAVA_HOME_11_X64: C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\11.0.27-6\x64
221:  ##[endgroup]
222:  ##[group]Attempt 1
223:  Determining projects to restore...
224:  Restored D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\SeleniumDocs.csproj (in 8.74 sec).
225:  ##[warning]D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\Troubleshooting\LoggingTest.cs(48,35): warning CS0618: 'ConsoleLogHandler' is obsolete: 'Use TextWriterHandler instead, will be removed in v4.32' [D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\SeleniumDocs.csproj]
226:  SeleniumDocs -> D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\bin\Debug\net8.0\SeleniumDocs.dll
227:  Test run for D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\bin\Debug\net8.0\SeleniumDocs.dll (.NETCoreApp,Version=v8.0)
228:  VSTest version 17.13.0 (x64)
229:  Starting test execution, please wait...
230:  A total of 1 test files matched the specified pattern.
231:  Skipped DriverLocation
232:  Failed InstallExtension [1 s]
233:  Error Message:
234:  Test method SeleniumDocs.Browsers.ChromeTest.InstallExtension threw exception: 
235:  OpenQA.Selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"css selector","selector":"#webextensions\-selenium\-example"}
236:  (Session info: chrome=136.0.7103.93); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
237:  Stack Trace:
238:  at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
239:  at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters)
...

248:  Skipped LogsToConsole
249:  Skipped LogsLevel
250:  Skipped ConfigureDriverLogs
251:  Skipped LogsToConsole
252:  Skipped LogsLevel
253:  Skipped ConfigureDriverLogs
254:  Skipped LogsToFile
255:  Skipped LogsToConsole
256:  Skipped LogsLevel
257:  Skipped StopsTruncatingLogs
258:  Skipped SetProfileLocation
259:  Skipped LogsToFile
260:  Skipped LogsToConsole
261:  Skipped BasicOptions
262:  Skipped EnableLogs
263:  Failed!  - Failed:     1, Passed:   109, Skipped:    16, Total:   126, Duration: 8 m 7 s - SeleniumDocs.dll (net8.0)
264:  Workload updates are available. Run `dotnet workload list` for more information.
265:  ##[warning]Attempt 1 failed. Reason: Child_process exited with error code 1
266:  ##[endgroup]
267:  ##[group]Attempt 2
268:  Determining projects to restore...
269:  All projects are up-to-date for restore.
270:  SeleniumDocs -> D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\bin\Debug\net8.0\SeleniumDocs.dll
271:  Test run for D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\bin\Debug\net8.0\SeleniumDocs.dll (.NETCoreApp,Version=v8.0)
272:  VSTest version 17.13.0 (x64)
273:  Starting test execution, please wait...
274:  A total of 1 test files matched the specified pattern.
275:  Skipped DriverLocation
276:  Failed InstallExtension [1 s]
277:  Error Message:
278:  Test method SeleniumDocs.Browsers.ChromeTest.InstallExtension threw exception: 
279:  OpenQA.Selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"css selector","selector":"#webextensions\-selenium\-example"}
280:  (Session info: chrome=136.0.7103.93); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
281:  Stack Trace:
282:  at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
283:  at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters)
...

292:  Skipped LogsToConsole
293:  Skipped LogsLevel
294:  Skipped ConfigureDriverLogs
295:  Skipped LogsToConsole
296:  Skipped LogsLevel
297:  Skipped ConfigureDriverLogs
298:  Skipped LogsToFile
299:  Skipped LogsToConsole
300:  Skipped LogsLevel
301:  Skipped StopsTruncatingLogs
302:  Skipped SetProfileLocation
303:  Skipped LogsToFile
304:  Skipped LogsToConsole
305:  Skipped BasicOptions
306:  Skipped EnableLogs
307:  Failed MoveByOffsetFromViewport [1 s]
308:  Error Message:
309:  Assert.IsTrue failed. 
310:  Stack Trace:
311:  at SeleniumDocs.ActionsAPI.MouseTest.MoveByOffsetFromViewport() in D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\ActionsAPI\MouseTest.cs:line 153
312:  at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
313:  at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
314:  Failed!  - Failed:     2, Passed:   108, Skipped:    16, Total:   126, Duration: 7 m 29 s - SeleniumDocs.dll (net8.0)
315:  Workload updates are available. Run `dotnet workload list` for more information.
316:  ##[warning]Attempt 2 failed. Reason: Child_process exited with error code 1
317:  ##[endgroup]
318:  ##[group]Attempt 3
319:  Determining projects to restore...
320:  All projects are up-to-date for restore.
321:  SeleniumDocs -> D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\bin\Debug\net8.0\SeleniumDocs.dll
322:  Test run for D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\bin\Debug\net8.0\SeleniumDocs.dll (.NETCoreApp,Version=v8.0)
323:  VSTest version 17.13.0 (x64)
324:  Starting test execution, please wait...
325:  A total of 1 test files matched the specified pattern.
326:  Skipped DriverLocation
327:  Failed InstallExtension [1 s]
328:  Error Message:
329:  Test method SeleniumDocs.Browsers.ChromeTest.InstallExtension threw exception: 
330:  OpenQA.Selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"css selector","selector":"#webextensions\-selenium\-example"}
331:  (Session info: chrome=136.0.7103.93); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
332:  Stack Trace:
333:  at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
334:  at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters)
...

343:  Skipped LogsToConsole
344:  Skipped LogsLevel
345:  Skipped ConfigureDriverLogs
346:  Skipped LogsToConsole
347:  Skipped LogsLevel
348:  Skipped ConfigureDriverLogs
349:  Skipped LogsToFile
350:  Skipped LogsToConsole
351:  Skipped LogsLevel
352:  Skipped StopsTruncatingLogs
353:  Skipped SetProfileLocation
354:  Skipped LogsToFile
355:  Skipped LogsToConsole
356:  Skipped BasicOptions
357:  Skipped EnableLogs
358:  Failed!  - Failed:     1, Passed:   109, Skipped:    16, Total:   126, Duration: 6 m 51 s - SeleniumDocs.dll (net8.0)
359:  Workload updates are available. Run `dotnet workload list` for more information.
360:  ##[endgroup]
361:  ##[error]Final attempt failed. Child_process exited with error code 1
362:  Post job cleanup.

@renovate renovate bot changed the title Update dependency selenium to v4.32.0 chore(deps): update dependency selenium to v4.32.0 May 5, 2025
@renovate renovate bot force-pushed the renovate/selenium-4.x branch from 32fe57e to 20ab0a4 Compare May 27, 2025 14:52
@renovate renovate bot changed the title chore(deps): update dependency selenium to v4.32.0 Update dependency selenium to v4.33.0 May 27, 2025
Copy link
Contributor Author

renovate bot commented May 27, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@diemol
Copy link
Member

diemol commented May 27, 2025

Failing tests are related to the removed load extension command in Chrome. We need to rework those tests.

@diemol diemol merged commit 2a221fb into trunk May 27, 2025
12 of 24 checks passed
@diemol diemol deleted the renovate/selenium-4.x branch May 27, 2025 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants