Skip to content

[🐛 Bug]: [rb] NPE after update to 4.52.0 #18260

Closed

Description

@boris-petrov

Description

I updated from 4.51.0 to 4.52.0 and started getting this exception:

ERROR Selenium [:ws] Callback error: NoMethodError: undefined method 'wait' for nil
.../build/.gems/gems/selenium-webdriver-4.52.0/lib/selenium/webdriver/common/websocket_connection.rb:149:in 'block in await_response'
.../org/jruby/ext/thread/Mutex.java:202:in 'synchronize'
.../build/.gems/gems/selenium-webdriver-4.52.0/lib/selenium/webdriver/common/websocket_connection.rb:142:in 'await_response'
.../build/.gems/gems/selenium-webdriver-4.52.0/lib/selenium/webdriver/common/websocket_connection.rb:121:in 'send_cmd'
.../build/.gems/gems/selenium-webdriver-4.52.0/lib/selenium/webdriver/devtools.rb:48:in 'send_cmd'

Reproducible Code

# I can't say for sure but I'm almost certain it's because of `browser.intercept`.

ℹ️ Last known working version: 4.51.0

Activity

  1. added
    I-defect
    A-needs-triaging
    on Oct 29, 2026
  2. selenium-ci commented on Oct 29, 2026

    @selenium-ci
    Member

    @boris-petrov, thank you for creating this issue. We will troubleshoot it as soon as we can.

    Selenium Triage Team: remember to follow the Triage Guide

  3. added
    C-rb
    I-regression
    on Oct 29, 2026
  4. added a commit that references this issue on Oct 29, 2026
    ef2b5bb
  5. added a commit that references this issue on Oct 29, 2026
    9aab878
  6. removed
    A-needs-triaging
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

C-rbD-chromeI-defectI-regressionOS-linux

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions