We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 430068f commit 069bdaeCopy full SHA for 069bdae
rb/lib/selenium/webdriver/common/websocket_connection.rb
@@ -98,7 +98,7 @@ def send_cmd(**payload)
98
begin
99
socket.write(out_frame.to_s)
100
rescue *CONNECTION_ERRORS => e
101
- raise Error::WebDriverError, "WebSocket is closed (#{e.class}: #{e.message})"
+ raise e, "WebSocket is closed (#{e.class}: #{e.message})"
102
end
103
104
wait.until do
0 commit comments