[rb] this needs to come back as a string to indicate it is supported
diff --git a/rb/lib/selenium/webdriver/common/driver.rb b/rb/lib/selenium/webdriver/common/driver.rb
index 5fdf8f4..789325a 100644
--- a/rb/lib/selenium/webdriver/common/driver.rb
+++ b/rb/lib/selenium/webdriver/common/driver.rb
@@ -316,7 +316,7 @@
         bridge = Remote::Bridge.new(http_client: http_client, url: url)
         bridge.create_session(caps)
         socket_url = bridge.capabilities[:web_socket_url]
-        if socket_url
+        if socket_url.kind_of?(String)
           bridge.extend(Remote::BiDiBridge)
           bridge.bidi = Selenium::WebDriver::BiDi.new(url: socket_url)
         end