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 a283344 commit cf2a0c8Copy full SHA for cf2a0c8
rb/lib/selenium/server.rb
@@ -183,7 +183,7 @@ def download_server(uri, destination)
183
def initialize(jar, opts = {})
184
raise Errno::ENOENT, jar unless File.exist?(jar)
185
186
- @java = opts.fetch(:java, 'java')
+ @java = opts.fetch(:java) || 'java'
187
@jar = jar
188
@host = '127.0.0.1'
189
@role = opts.fetch(:role, 'standalone')
0 commit comments