Skip to content

Commit 1eb7008

Browse files
committed
Prefer "geckodriver" name when looking up binary
Previously, binaries were shipped with version suffix, but not anymore. Closes #5240.
1 parent 88bfd40 commit 1eb7008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rb/lib/selenium/webdriver/firefox/service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module Firefox
2424

2525
class Service < WebDriver::Service
2626
DEFAULT_PORT = 4444
27-
@executable = 'geckodriver*'.freeze
27+
@executable = 'geckodriver'.freeze
2828
@missing_text = <<-ERROR.gsub(/\n +| {2,}/, ' ').freeze
2929
Unable to find Mozilla geckodriver. Please download the server from
3030
https://github.com/mozilla/geckodriver/releases and place it somewhere on your PATH.

0 commit comments

Comments
 (0)