Skip to content

Update dependency Selenium.Support to v4.21.0 #1719

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 6 commits into from
May 29, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 16, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Selenium.Support (source) 4.20.0 -> 4.21.0 age adoption passing confidence

Release Notes

SeleniumHQ/selenium (Selenium.Support)

v4.21.0


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 has been generated by Mend Renovate. View repository job log here.

Copy link

netlify bot commented May 16, 2024

Deploy Preview for selenium-dev ready!

Name Link
🔨 Latest commit 0677dbf
🔍 Latest deploy log https://app.netlify.com/sites/selenium-dev/deploys/6657571db4c9d30008fd8d25
😎 Deploy Preview https://deploy-preview-1719--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 site configuration.

@renovate renovate bot force-pushed the renovate/selenium.support-4.x branch from 1105346 to 64a2252 Compare May 29, 2024 13:30
Copy link
Contributor Author

renovate bot commented May 29, 2024

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.

Copy link
Contributor

qodo-merge-pro bot commented May 29, 2024

CI Failure Feedback 🧐

(Checks updated until commit d528ade)

Action: test_examples (windows-latest, stable)

Failed stage: Run tests [❌]

Failed test name: SeleniumDocs.Drivers.ServiceTest.DriverLocation

Failure summary:

The action failed because the test SeleniumDocs.Drivers.ServiceTest.DriverLocation encountered an
error. The specific reasons for the failure are:

  • The version of ChromeDriver being used (125.0.6422.78) only supports Chrome version 125.
  • The current browser version is 124.0.6367.208, which is incompatible with the ChromeDriver version.
  • This version mismatch caused a System.InvalidOperationException with the message session not
    created: This version of ChromeDriver only supports Chrome version 125.

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Microsoft Windows Server 2022
    ...
    
    193:  timeout_minutes: 20
    194:  max_attempts: 3
    195:  command: cd examples/dotnet/SeleniumDocs
    196:  dotnet test
    197:  
    198:  retry_wait_seconds: 10
    199:  polling_interval_seconds: 1
    200:  warning_on_retry: true
    201:  continue_on_error: false
    ...
    
    386:  Starting ChromeDriver 125.0.6422.78 (14db42ec38aded3304a3e624a0a038e02956b87e-refs/branch-heads/6422@{#1088}) on port 61374
    387:  Only local connections are allowed.
    388:  Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
    389:  ChromeDriver was started successfully.
    390:  Starting ChromeDriver 124.0.6367.207 (a9001a6e39fbaa559510ca866052950457dd4e6b-refs/branch-heads/6367_201@{#3}) on port 1234
    391:  Only local connections are allowed.
    392:  Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
    393:  ChromeDriver was started successfully.
    394:  Failed DriverLocation [1 s]
    395:  Error Message:
    396:  Test method SeleniumDocs.Drivers.ServiceTest.DriverLocation threw exception: 
    397:  System.InvalidOperationException: session not created: This version of ChromeDriver only supports Chrome version 125
    398:  Current browser version is 124.0.6367.208 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe (SessionNotCreated)
    399:  Stack Trace:
    400:  at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
    ...
    
    477:  1716996937979	geckodriver	INFO	Listening on 127.0.0.1:61606
    478:  1716996942007	mozrunner::runner	INFO	Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "-no-remote" "-profile" "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rust_mozprofileQxBaeC"
    479:  console.warn: services.settings: Ignoring preference override of remote settings server
    480:  console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
    481:  1716996942260	Marionette	INFO	Marionette enabled
    482:  1716996942321	Marionette	INFO	Listening on port 61623
    483:  Read port: 61623
    484:  1716996943443	Marionette	INFO	Stopped listening on port 61623
    485:  console.error: "Could not load engine [email protected]: Error: XPIProvider can't start bootstrap scope for [email protected] after shutdown was already granted"
    486:  console.error: "Could not load engine [email protected]: Error: XPIProvider can't start bootstrap scope for [email protected] after shutdown was already granted"
    487:  console.error: "Could not load engine [email protected]: Error: XPIProvider can't start bootstrap scope for [email protected] after shutdown was already granted"
    488:  console.error: "Could not load engine [email protected]: Error: XPIProvider can't start bootstrap scope for [email protected] after shutdown was already granted"
    489:  console.error: SearchService: "Could not find a replacement default engine."
    490:  console.error: WebExtensions: 
    491:  Message: [Exception... "#init: abandoning init due to shutting down"  nsresult: "0x80004004 (NS_ERROR_ABORT)"  location: "JS frame :: resource://gre/modules/SearchService.sys.mjs :: #init :: line 1401"  data: no]
    ...
    
    493:  #init@resource://gre/modules/SearchService.sys.mjs:1401:27
    494:  1716996944514	geckodriver	INFO	Listening on 127.0.0.1:61637
    495:  1716996948568	mozrunner::runner	INFO	Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "-headless" "-no-remote" "-profile" "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rust_mozprofileuyxstB"
    496:  console.warn: services.settings: Ignoring preference override of remote settings server
    497:  console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
    498:  1716996948798	Marionette	INFO	Marionette enabled
    499:  1716996948851	Marionette	INFO	Listening on port 61643
    500:  Read port: 61643
    501:  [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
    502:  console.error: ({})
    ...
    
    604:  Starting ChromeDriver 125.0.6422.78 (14db42ec38aded3304a3e624a0a038e02956b87e-refs/branch-heads/6422@{#1088}) on port 62176
    605:  Only local connections are allowed.
    606:  Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
    607:  ChromeDriver was started successfully.
    608:  Starting ChromeDriver 125.0.6422.78 (14db42ec38aded3304a3e624a0a038e02956b87e-refs/branch-heads/6422@{#1088}) on port 62191
    609:  Only local connections are allowed.
    610:  Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
    611:  ChromeDriver was started successfully.
    612:  Failed RecordNetworkResponse [5 s]
    613:  Error Message:
    ...
    
    643:  at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
    644:  at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
    645:  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result)
    646:  at System.Net.Http.HttpConnection.ReadBufferedAsyncCore(Memory`1 destination)
    647:  at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    648:  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
    649:  at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.InvokeContinuation(Action`1 continuation, Object state, Boolean forceAsync, Boolean requiresExecutionContextFlow)
    650:  at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.OnCompleted(SocketAsyncEventArgs _)
    651:  at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pNativeOverlapped)
    ...
    
    792:  Starting ChromeDriver 125.0.6422.78 (14db42ec38aded3304a3e624a0a038e02956b87e-refs/branch-heads/6422@{#1088}) on port 62747
    793:  Only local connections are allowed.
    794:  Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
    795:  ChromeDriver was started successfully.
    796:  Starting ChromeDriver 125.0.6422.78 (14db42ec38aded3304a3e624a0a038e02956b87e-refs/branch-heads/6422@{#1088}) on port 62760
    797:  Only local connections are allowed.
    798:  Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
    799:  ChromeDriver was started successfully.
    800:  Failed!  - Failed:     2, Passed:    92, Skipped:    15, Total:   109, Duration: 8 m 59 s - SeleniumDocs.dll (net6.0)
    801:  ##[warning]Attempt 1 failed. Reason: Child_process exited with error code 1
    ...
    
    978:  Starting ChromeDriver 125.0.6422.78 (14db42ec38aded3304a3e624a0a038e02956b87e-refs/branch-heads/6422@{#1088}) on port 63287
    979:  Only local connections are allowed.
    980:  Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
    981:  ChromeDriver was started successfully.
    982:  Starting ChromeDriver 124.0.6367.207 (a9001a6e39fbaa559510ca866052950457dd4e6b-refs/branch-heads/6367_201@{#3}) on port 1234
    983:  Only local connections are allowed.
    984:  Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
    985:  ChromeDriver was started successfully.
    986:  Failed DriverLocation [1 s]
    987:  Error Message:
    988:  Test method SeleniumDocs.Drivers.ServiceTest.DriverLocation threw exception: 
    989:  System.InvalidOperationException: session not created: This version of ChromeDriver only supports Chrome version 125
    990:  Current browser version is 124.0.6367.208 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe (SessionNotCreated)
    991:  Stack Trace:
    992:  at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
    ...
    
    1076:  1716997336936	Marionette	INFO	Stopped listening on port 63489
    1077:  1716997337928	geckodriver	INFO	Listening on 127.0.0.1:63506
    1078:  1716997341980	mozrunner::runner	INFO	Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "-headless" "-no-remote" "-profile" "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rust_mozprofile3WMNYb"
    1079:  console.warn: services.settings: Ignoring preference override of remote settings server
    1080:  console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
    1081:  1716997342219	Marionette	INFO	Marionette enabled
    1082:  1716997342274	Marionette	INFO	Listening on port 63512
    1083:  Read port: 63512
    1084:  [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
    1085:  console.error: ({})
    ...
    
    1323:  Starting ChromeDriver 125.0.6422.78 (14db42ec38aded3304a3e624a0a038e02956b87e-refs/branch-heads/6422@{#1088}) on port 64568
    1324:  Only local connections are allowed.
    1325:  Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
    1326:  ChromeDriver was started successfully.
    1327:  Starting ChromeDriver 125.0.6422.78 (14db42ec38aded3304a3e624a0a038e02956b87e-refs/branch-heads/6422@{#1088}) on port 64591
    1328:  Only local connections are allowed.
    1329:  Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
    1330:  ChromeDriver was started successfully.
    1331:  Failed!  - Failed:     1, Passed:    93, Skipped:    15, Total:   109, Duration: 5 m 37 s - SeleniumDocs.dll (net6.0)
    1332:  ##[warning]Attempt 2 failed. Reason: Child_process exited with error code 1
    ...
    
    1509:  Starting ChromeDriver 125.0.6422.78 (14db42ec38aded3304a3e624a0a038e02956b87e-refs/branch-heads/6422@{#1088}) on port 65132
    1510:  Only local connections are allowed.
    1511:  Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
    1512:  ChromeDriver was started successfully.
    1513:  Starting ChromeDriver 124.0.6367.207 (a9001a6e39fbaa559510ca866052950457dd4e6b-refs/branch-heads/6367_201@{#3}) on port 1234
    1514:  Only local connections are allowed.
    1515:  Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
    1516:  ChromeDriver was started successfully.
    1517:  Failed DriverLocation [1 s]
    1518:  Error Message:
    1519:  Test method SeleniumDocs.Drivers.ServiceTest.DriverLocation threw exception: 
    1520:  System.InvalidOperationException: session not created: This version of ChromeDriver only supports Chrome version 125
    1521:  Current browser version is 124.0.6367.208 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe (SessionNotCreated)
    1522:  Stack Trace:
    1523:  at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
    ...
    
    1607:  1716997687481	Marionette	INFO	Stopped listening on port 65323
    1608:  1716997688519	geckodriver	INFO	Listening on 127.0.0.1:65339
    1609:  1716997692612	mozrunner::runner	INFO	Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "-headless" "-no-remote" "-profile" "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rust_mozprofiletPGf0j"
    1610:  console.warn: services.settings: Ignoring preference override of remote settings server
    1611:  console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
    1612:  1716997692842	Marionette	INFO	Marionette enabled
    1613:  1716997692896	Marionette	INFO	Listening on port 65355
    1614:  Read port: 65355
    1615:  [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
    1616:  console.error: ({})
    1617:  1716997693925	Marionette	INFO	Stopped listening on port 65355
    1618:  console.error: "Could not load engine [email protected]: Error: XPIProvider can't start bootstrap scope for [email protected] after shutdown was already granted"
    1619:  console.error: "Could not load engine [email protected]: Error: XPIProvider can't start bootstrap scope for [email protected] after shutdown was already granted"
    1620:  console.error: "Could not load engine [email protected]: Error: XPIProvider can't start bootstrap scope for [email protected] after shutdown was already granted"
    1621:  console.error: "Could not load engine [email protected]: Error: XPIProvider can't start bootstrap scope for [email protected] after shutdown was already granted"
    1622:  console.error: SearchService: "Could not find a replacement default engine."
    1623:  console.error: WebExtensions: 
    1624:  Message: [Exception... "#init: abandoning init due to shutting down"  nsresult: "0x80004004 (NS_ERROR_ABORT)"  location: "JS frame :: resource://gre/modules/SearchService.sys.mjs :: #init :: line 1401"  data: no]
    1625:  Stack:
    1626:  #init@resource://gre/modules/SearchService.sys.mjs:1401:27
    1627:  console.error: (new StorageError("Storage error: AbortError: IndexedDB: main/query-stripping list() IndexedDB:  execute() A request was aborted, for example through a call to IDBTransaction.abort.", "resource://services-settings/RemoteSettingsClient.sys.mjs", 153))
    ...
    
    1649:  1716997708523	geckodriver	INFO	Listening on 127.0.0.1:65430
    1650:  1716997712599	mozrunner::runner	INFO	Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "-no-remote" "-profile" "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rust_mozprofileamx1oZ"
    1651:  console.warn: services.settings: Ignoring preference override of remote settings server
    1652:  console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
    1653:  1716997712830	Marionette	INFO	Marionette enabled
    1654:  1716997712891	Marionette	INFO	Listening on port 65436
    1655:  Read port: 65436
    1656:  1716997714107	Marionette	INFO	Stopped listening on port 65436
    1657:  console.log: "RemoteSettingsWorker error: AbortError: IndexedDB:  execute() A request was aborted, for example through a call to IDBTransaction.abort."
    1658:  console.error: (new RemoteSettingsWorkerError("AbortError: IndexedDB:  execute() A request was aborted, for example through a call to IDBTransaction.abort.", "resource://services-settings/RemoteSettingsWorker.sys.mjs", 34))
    ...
    
    1866:  Starting ChromeDriver 125.0.6422.78 (14db42ec38aded3304a3e624a0a038e02956b87e-refs/branch-heads/6422@{#1088}) on port 50020
    1867:  Only local connections are allowed.
    1868:  Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
    1869:  ChromeDriver was started successfully.
    1870:  Starting ChromeDriver 125.0.6422.78 (14db42ec38aded3304a3e624a0a038e02956b87e-refs/branch-heads/6422@{#1088}) on port 50033
    1871:  Only local connections are allowed.
    1872:  Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
    1873:  ChromeDriver was started successfully.
    1874:  Failed!  - Failed:     1, Passed:    93, Skipped:    15, Total:   109, Duration: 5 m 35 s - SeleniumDocs.dll (net6.0)
    1875:  ##[error]Final attempt failed. Child_process exited with error code 1
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    @titusfortner
    Copy link
    Member

    @diemol would it make more sense to set the browserVersion to stable than to only run it on Mac?
    We also need to update the documentation line references if we add the line

    @titusfortner
    Copy link
    Member

    Hah, you beat me to it

    @diemol diemol merged commit 77d830f into trunk May 29, 2024
    12 checks passed
    @diemol diemol deleted the renovate/selenium.support-4.x branch May 29, 2024 16:35
    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