Skip to content

Commit cf2a0c8

Browse files
committed
[rb] fix bug preventing running remote driver tests without bazel
1 parent a283344 commit cf2a0c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rb/lib/selenium/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def download_server(uri, destination)
183183
def initialize(jar, opts = {})
184184
raise Errno::ENOENT, jar unless File.exist?(jar)
185185

186-
@java = opts.fetch(:java, 'java')
186+
@java = opts.fetch(:java) || 'java'
187187
@jar = jar
188188
@host = '127.0.0.1'
189189
@role = opts.fetch(:role, 'standalone')

0 commit comments

Comments
 (0)