Skip to content
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

[build] Prepare for release of Selenium 4.22.0 #62

Merged
merged 6 commits into from
Jun 12, 2024

Conversation

titusfortner
Copy link
Owner

@titusfortner titusfortner commented Jun 12, 2024

User description

Warning: Manually update the changelogs before merging

This PR:

  • Updates Rust version for Selenium Manager release
  • Updates Pinned browser version to coincide with new CDP release
  • Adds support for new CDP version and removes old CDP version
  • Selenium Manager references the new Selenium Manager release
  • Updates Maven Dependencies
  • Adds new authors to authors file
  • Updates all versions for all bindings
  • Generates rough change logs for each bindings (please tidy them up before merging this)

PR Type

Enhancement, Dependencies, Documentation


Description

  • Updated DevTools package references and class names from v123 to v126 across multiple files.
  • Updated test references and IDs from V125 to V126.
  • Added new js_protocol.pdl file for DevTools v126.
  • Updated Maven dependencies to the latest versions.
  • Updated Selenium version to 4.22.0-nightly202406121348 across various files.
  • Updated pinned browser versions and URLs for Firefox and Edge.
  • Added new authors to the AUTHORS file.
  • Updated Selenium Manager versions and URLs.

Changes walkthrough 📝

Relevant files
Enhancement
22 files
v126Target.java
Update DevTools Target to v126                                                     

java/src/org/openqa/selenium/devtools/v126/v126Target.java

  • Updated package references from v123 to v126.
  • Renamed class from v123Target to v126Target.
  • Updated import statements to use v126 instead of v123.
  • +12/-12 
    v126Network.java
    Update DevTools Network to v126                                                   

    java/src/org/openqa/selenium/devtools/v126/v126Network.java

  • Updated package references from v123 to v126.
  • Renamed class from v123Network to v126Network.
  • Updated import statements to use v126 instead of v123.
  • +10/-10 
    v126Events.java
    Update DevTools Events to v126                                                     

    java/src/org/openqa/selenium/devtools/v126/v126Events.java

  • Updated package references from v123 to v126.
  • Renamed class from v123Events to v126Events.
  • Updated import statements to use v126 instead of v123.
  • +9/-9     
    v126Domains.java
    Update DevTools Domains to v126                                                   

    java/src/org/openqa/selenium/devtools/v126/v126Domains.java

  • Updated package references from v123 to v126.
  • Renamed class from v123Domains to v126Domains.
  • Updated import statements to use v126 instead of v123.
  • +13/-13 
    v126Javascript.java
    Update DevTools Javascript to v126                                             

    java/src/org/openqa/selenium/devtools/v126/v126Javascript.java

  • Updated package references from v123 to v126.
  • Renamed class from v123Javascript to v126Javascript.
  • Updated import statements to use v126 instead of v123.
  • +7/-7     
    v126Log.java
    Update DevTools Log to v126                                                           

    java/src/org/openqa/selenium/devtools/v126/v126Log.java

  • Updated package references from v123 to v126.
  • Renamed class from v123Log to v126Log.
  • Updated import statements to use v126 instead of v123.
  • +5/-5     
    v126CdpInfo.java
    Update DevTools CDP Info to v126                                                 

    java/src/org/openqa/selenium/devtools/v126/v126CdpInfo.java

  • Updated package references from v123 to v126.
  • Renamed class from v123CdpInfo to v126CdpInfo.
  • +4/-4     
    V126Domains.cs
    Update .NET DevTools Domains to v126                                         

    dotnet/src/webdriver/DevTools/v126/V126Domains.cs

  • Updated namespace references from V123 to V126.
  • Renamed class from V123Domains to V126Domains.
  • +11/-11 
    V126Network.cs
    Update .NET DevTools Network to v126                                         

    dotnet/src/webdriver/DevTools/v126/V126Network.cs

  • Updated namespace references from V123 to V126.
  • Renamed class from V123Network to V126Network.
  • +12/-12 
    V126JavaScript.cs
    Update .NET DevTools JavaScript to v126                                   

    dotnet/src/webdriver/DevTools/v126/V126JavaScript.cs

  • Updated namespace references from V123 to V126.
  • Renamed class from V123JavaScript to V126JavaScript.
  • +8/-8     
    V126Target.cs
    Update .NET DevTools Target to v126                                           

    dotnet/src/webdriver/DevTools/v126/V126Target.cs

  • Updated namespace references from V123 to V126.
  • Renamed class from V123Target to V126Target.
  • +7/-7     
    V126Log.cs
    Update .NET DevTools Log to v126                                                 

    dotnet/src/webdriver/DevTools/v126/V126Log.cs

  • Updated namespace references from V123 to V126.
  • Renamed class from V123Log to V126Log.
  • +7/-7     
    DevToolsDomains.cs
    Add v126 to Supported DevTools Versions                                   

    dotnet/src/webdriver/DevTools/DevToolsDomains.cs

    • Updated supported DevTools versions to include v126.
    +1/-1     
    StableChannelChromeDriver.cs
    Update Default Browser Version to 126                                       

    dotnet/test/common/CustomDriverConfigs/StableChannelChromeDriver.cs

    • Updated default browser version to 126.
    +1/-1     
    version.rb
    Update DevTools Version to 0.126.0                                             

    rb/lib/selenium/devtools/version.rb

    • Updated DevTools version to 0.126.0.
    +1/-1     
    versions.bzl
    Add v126 to Supported DevTools Versions                                   

    java/src/org/openqa/selenium/devtools/versions.bzl

    • Updated supported DevTools versions to include v126.
    +1/-1     
    js_protocol.pdl
    Add js_protocol.pdl for DevTools v126                                       

    common/devtools/chromium/v126/js_protocol.pdl

    • Added new js_protocol.pdl file for DevTools v126.
    +1807/-1
    BUILD.bazel
    Add Build Rules for DevTools v126                                               

    common/devtools/chromium/v126/BUILD.bazel

    • Added new build rules for DevTools v126.
    +38/-1   
    WebDriver.csproj
    Update DevTools Generation Command to Include v126             

    dotnet/src/webdriver/WebDriver.csproj

    • Updated DevTools generation command to include v126.
    +1/-1     
    Rakefile
    Update Java Release Targets to Include v126                           

    Rakefile

    • Updated Java release targets to include v126.
    +1/-1     
    BUILD.bazel
    Update CDP Version to v126                                                             

    java/src/org/openqa/selenium/devtools/v126/BUILD.bazel

    • Updated CDP version to v126.
    +1/-1     
    BUILD.bazel
    Add v126 to Supported CDP Versions                                             

    rb/lib/selenium/devtools/BUILD.bazel

    • Updated supported CDP versions to include v126.
    +1/-1     
    Tests
    8 files
    DevToolsTargetTest.cs
    Update DevTools Target Test to v126                                           

    dotnet/test/common/DevTools/DevToolsTargetTest.cs

  • Updated test references from V125 to V126.
  • Updated test ID from 125 to 126.
  • +3/-3     
    DevToolsConsoleTest.cs
    Update DevTools Console Test to v126                                         

    dotnet/test/common/DevTools/DevToolsConsoleTest.cs

    • Updated test references from V125 to V126.
    +2/-2     
    DevToolsNetworkTest.cs
    Update DevTools Network Test to v126                                         

    dotnet/test/common/DevTools/DevToolsNetworkTest.cs

    • Updated test references from V125 to V126.
    +2/-2     
    DevToolsPerformanceTest.cs
    Update DevTools Performance Test to v126                                 

    dotnet/test/common/DevTools/DevToolsPerformanceTest.cs

    • Updated test references from V125 to V126.
    +2/-2     
    DevToolsProfilerTest.cs
    Update DevTools Profiler Test to v126                                       

    dotnet/test/common/DevTools/DevToolsProfilerTest.cs

    • Updated test references from V125 to V126.
    +2/-2     
    DevToolsSecurityTest.cs
    Update DevTools Security Test to v126                                       

    dotnet/test/common/DevTools/DevToolsSecurityTest.cs

    • Updated test references from V125 to V126.
    +2/-2     
    DevToolsTabsTest.cs
    Update DevTools Tabs Test to v126                                               

    dotnet/test/common/DevTools/DevToolsTabsTest.cs

    • Updated test references from V125 to V126.
    +2/-2     
    DevToolsLogTest.cs
    Update DevTools Log Test to v126                                                 

    dotnet/test/common/DevTools/DevToolsLogTest.cs

    • Updated test references from V125 to V126.
    +1/-1     
    Dependencies
    11 files
    repositories.bzl
    Update Pinned Browser Versions and URLs                                   

    common/repositories.bzl

    • Updated pinned browser versions and URLs for Firefox and Edge.
    +25/-25 
    selenium_manager.bzl
    Update Selenium Manager Versions and URLs                               

    common/selenium_manager.bzl

    • Updated Selenium Manager versions and URLs.
    +6/-6     
    selenium-dotnet-version.bzl
    Update Selenium .NET Version and Supported DevTools Versions

    dotnet/selenium-dotnet-version.bzl

  • Updated Selenium .NET version to 4.22.0-nightly202406121348.
  • Updated supported DevTools versions to include v126.
  • +2/-2     
    __init__.py
    Update Selenium Version to 4.22.0.dev202406121348               

    py/selenium/webdriver/init.py

    • Updated Selenium version to 4.22.0.dev202406121348.
    +1/-1     
    setup.py
    Update Selenium Version to 4.22.0.dev202406121348               

    py/setup.py

    • Updated Selenium version to 4.22.0.dev202406121348.
    +1/-1     
    __init__.py
    Update Selenium Version to 4.22.0.dev202406121348               

    py/selenium/init.py

    • Updated Selenium version to 4.22.0.dev202406121348.
    +1/-1     
    MODULE.bazel
    Update Maven Dependencies                                                               

    MODULE.bazel

    • Updated Maven dependencies to latest versions.
    +24/-24 
    BUILD.bazel
    Update Selenium Version and Supported Browser Versions     

    javascript/node/selenium-webdriver/BUILD.bazel

  • Updated Selenium version to 4.22.0-nightly202406121348.
  • Updated supported browser versions to include v126.
  • +2/-2     
    BUILD.bazel
    Update Selenium Version and Supported Browser Versions     

    py/BUILD.bazel

  • Updated Selenium version to 4.22.0.dev202406121348.
  • Updated supported browser versions to include v126.
  • +2/-2     
    package-lock.json
    Update Selenium Version to 4.22.0-nightly202406121348       

    package-lock.json

    • Updated Selenium version to 4.22.0-nightly202406121348.
    +1/-1     
    package.json
    Update Selenium Version to 4.22.0-nightly202406121348       

    javascript/node/selenium-webdriver/package.json

    • Updated Selenium version to 4.22.0-nightly202406121348.
    +1/-1     
    Documentation
    2 files
    conf.py
    Update Documentation Version to 4.22.0.dev202406121348     

    py/docs/source/conf.py

    • Updated documentation version to 4.22.0.dev202406121348.
    +1/-1     
    AUTHORS
    Add New Authors to AUTHORS File                                                   

    AUTHORS

    • Added new authors to the AUTHORS file.
    +4/-0     

    💡 PR-Agent usage:
    Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    @titusfortner titusfortner marked this pull request as ready for review June 12, 2024 13:48
    @titusfortner titusfortner merged commit 1191579 into temp_trunk Jun 12, 2024
    Copy link

    PR Reviewer Guide 🔍

    ⏱️ Estimated effort to review [1-5]

    4

    🧪 Relevant tests

    No

    🔒 Security concerns

    No

    ⚡ Key issues to review

    Dependency Updates:
    The PR includes updates to various dependencies. Ensure that these updates do not introduce any breaking changes or compatibility issues with the existing codebase.

    Code Refactoring:
    The PR involves refactoring of code, particularly in the handling of DevTools versions. Reviewers should ensure that these changes maintain or improve the clarity and maintainability of the code.

    New Features:
    The PR introduces support for new CDP versions. It is crucial to verify that the new features integrate well with the existing functionalities and that they meet the project's standards.

    Copy link

    Failed to generate code suggestions for PR

    @titusfortner titusfortner deleted the release-preparation-4.22.0 branch June 12, 2024 14:10
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    2 participants