Skip to content

Commit 80d1a11

Browse files
committed
Fix a dummy typo that changes the meaning to the opposite
1 parent 560a0ae commit 80d1a11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rb/lib/selenium/webdriver/devtools.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def wait
162162

163163
def socket
164164
@socket ||= begin
165-
if URI(@url).scheme == 'ws'
165+
if URI(@url).scheme == 'wss'
166166
socket = TCPSocket.new(ws.host, ws.port)
167167
socket = OpenSSL::SSL::SSLSocket.new(socket, OpenSSL::SSL::SSLContext.new)
168168
socket.sync_close = true

0 commit comments

Comments
 (0)