Skip to content

Commit

Permalink
Fix a dummy typo that changes the meaning to the opposite
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed Nov 17, 2021
1 parent 560a0ae commit 80d1a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/devtools.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def wait

def socket
@socket ||= begin
if URI(@url).scheme == 'ws'
if URI(@url).scheme == 'wss'
socket = TCPSocket.new(ws.host, ws.port)
socket = OpenSSL::SSL::SSLSocket.new(socket, OpenSSL::SSL::SSLContext.new)
socket.sync_close = true
Expand Down

0 comments on commit 80d1a11

Please sign in to comment.