Skip to content

Update dependency selenium-webdriver #1724

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 3 commits into from
May 27, 2024
Merged

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-webdriver (source) 4.20.0 -> 4.21.0 age adoption passing confidence
selenium-webdriver (source, changelog) '= 4.20.1' -> '= 4.21.1' age adoption passing confidence

Release Notes

SeleniumHQ/selenium (selenium-webdriver)

v4.21.0

Compare Source

SeleniumHQ/selenium (selenium-webdriver)

v4.21.1

=========================

  • Fixed missing Chrome binary error in Rails system tests.

v4.21.0

=========================

  • Add CDP for Chrome 125 and remove 122
  • Initial extensibility points for Appium
    • Support registering extra headers in HTTP client
    • Support overriding User-Agent in HTTP client
    • Support registering extra bridge commands
    • Support overriding default locator conversion
    • Support registering custom finders for SearchContext
    • Support using custom element classes

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 b482198
🔍 Latest deploy log https://app.netlify.com/sites/selenium-dev/deploys/6654109a5761630008c3cf1e
😎 Deploy Preview https://deploy-preview-1724--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.

Copy link
Contributor

qodo-merge-pro bot commented May 19, 2024

CI Failure Feedback 🧐

(Checks updated until commit b482198)

Action: test_examples (macos-latest, nightly)

Failed stage: Run tests [❌]

Failed test name: can call function in a realm

Failure summary:

The action failed because the test can call function in a realm in the Script commands suite failed.

  • The test encountered a TypeError indicating that it attempted to read properties of undefined
    (reading type).
  • The error occurred in the createEvaluateResult method of the ScriptManager class in the
    selenium-webdriver package.
  • The specific file and line where the error happened is
    node_modules/selenium-webdriver/bidi/scriptManager.js:348:34.

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  macOS
    ...
    
    250:  timeout_minutes: 20
    251:  max_attempts: 3
    252:  command: cd examples/javascript
    253:  npm test
    254:  
    255:  retry_wait_seconds: 10
    256:  polling_interval_seconds: 1
    257:  warning_on_retry: true
    258:  continue_on_error: false
    ...
    
    296:  Actions API - Wheel Tests
    297:  ✔ Scroll to element (213ms)
    298:  ✔ Scroll by given amount (549ms)
    299:  ✔ Scroll from an element by a given amount (611ms)
    300:  ✔ Scroll from an element with an offset (593ms)
    301:  ✔ Scroll from an offset of origin (element) by given amount (1122ms)
    302:  [firefox]
    303:  Integration Tests
    304:  ✔ test navigate and listen to errors (5793ms)
    ...
    
    362:  - can locate node with root ownership value
    363:  - can locate node with given start nodes
    364:  - can locate nodes in a given sandbox
    365:  - can find element
    366:  - can find elements
    367:  [firefox]
    368:  Log Inspector
    369:  ✔ test listen to console log (5560ms)
    370:  ✔ test listen to javascript error log (5524ms)
    ...
    
    686:  ✔ Get credential
    687:  ✔ Remove all credentials
    688:  [chrome]
    689:  Virtual authenticator options
    690:  ✔ Virtual options
    691:  ✔ User verified
    692:  [chrome]
    693:  Waits
    694:  ✔ fail (166ms)
    695:  ✔ sleep (2064ms)
    696:  ✔ implicit (1060ms)
    697:  ✔ explicit (1190ms)
    698:  171 passing (19m)
    699:  20 pending
    700:  1 failing
    701:  1) [firefox]
    702:  Script commands
    703:  can call function in a realm:
    704:  TypeError: Cannot read properties of undefined (reading 'type')
    705:  at ScriptManager.createEvaluateResult (node_modules/selenium-webdriver/bidi/scriptManager.js:348:34)
    706:  at ScriptManager.callFunctionInRealm (node_modules/selenium-webdriver/bidi/scriptManager.js:131:17)
    707:  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    708:  at async Context.<anonymous> (test/bidirectional/script_commands.spec.js:227:13)
    709:  ##[warning]Attempt 1 failed. Reason: Child_process exited with error code 1
    ...
    
    737:  Actions API - Wheel Tests
    738:  ✔ Scroll to element (230ms)
    739:  ✔ Scroll by given amount (583ms)
    740:  ✔ Scroll from an element by a given amount (620ms)
    741:  ✔ Scroll from an element with an offset (622ms)
    742:  ✔ Scroll from an offset of origin (element) by given amount (1069ms)
    743:  [firefox]
    744:  Integration Tests
    745:  ✔ test navigate and listen to errors (6008ms)
    ...
    
    803:  - can locate node with root ownership value
    804:  - can locate node with given start nodes
    805:  - can locate nodes in a given sandbox
    806:  - can find element
    807:  - can find elements
    808:  [firefox]
    809:  Log Inspector
    810:  ✔ test listen to console log (5592ms)
    811:  ✔ test listen to javascript error log (5587ms)
    ...
    
    1109:  ✔ Should be able to getWindow position
    1110:  [chrome]
    1111:  Select Tests
    1112:  ✔ Select an option (183ms)
    1113:  ✔ Select by multiple options (315ms)
    1114:  ✔ Try selecting disabled option
    1115:  [firefox]
    1116:  Select Tests
    1117:  ##[warning]Attempt 2 failed. Reason: Timeout of 1200000ms hit
    ...
    
    1145:  Actions API - Wheel Tests
    1146:  ✔ Scroll to element (210ms)
    1147:  ✔ Scroll by given amount (589ms)
    1148:  ✔ Scroll from an element by a given amount (627ms)
    1149:  ✔ Scroll from an element with an offset (595ms)
    1150:  ✔ Scroll from an offset of origin (element) by given amount (1082ms)
    1151:  [firefox]
    1152:  Integration Tests
    1153:  ✔ test navigate and listen to errors (5597ms)
    ...
    
    1211:  - can locate node with root ownership value
    1212:  - can locate node with given start nodes
    1213:  - can locate nodes in a given sandbox
    1214:  - can find element
    1215:  - can find elements
    1216:  [firefox]
    1217:  Log Inspector
    1218:  ✔ test listen to console log (5580ms)
    1219:  ✔ test listen to javascript error log (5578ms)
    ...
    
    1535:  ✔ Get credential
    1536:  ✔ Remove all credentials
    1537:  [chrome]
    1538:  Virtual authenticator options
    1539:  ✔ Virtual options
    1540:  ✔ User verified
    1541:  [chrome]
    1542:  Waits
    1543:  ✔ fail (137ms)
    1544:  ✔ sleep (2043ms)
    1545:  ✔ implicit (1118ms)
    1546:  ✔ explicit (1219ms)
    1547:  171 passing (18m)
    1548:  20 pending
    1549:  1 failing
    1550:  1) [firefox]
    1551:  Script commands
    1552:  can call function in a realm:
    1553:  TypeError: Cannot read properties of undefined (reading 'type')
    1554:  at ScriptManager.createEvaluateResult (node_modules/selenium-webdriver/bidi/scriptManager.js:348:34)
    1555:  at ScriptManager.callFunctionInRealm (node_modules/selenium-webdriver/bidi/scriptManager.js:131:17)
    1556:  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    1557:  at async Context.<anonymous> (test/bidirectional/script_commands.spec.js:227:13)
    1558:  ##[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.

    @renovate renovate bot force-pushed the renovate/selenium-webdriver-4.x branch from 1e7c007 to f09bbed Compare May 20, 2024 08:11
    Copy link
    Contributor Author

    renovate bot commented May 22, 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.

    @harsha509
    Copy link
    Member

    Merging this as ruby check passed!

    @harsha509 harsha509 merged commit bac2721 into trunk May 27, 2024
    16 of 18 checks passed
    @harsha509 harsha509 deleted the renovate/selenium-webdriver-4.x branch May 27, 2024 06:21
    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