Skip to content

Commit

Permalink
Browser.executable: Look for chromedriver not Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
Zapotek committed Jan 10, 2022
1 parent 6e10ad8 commit 307cb42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/arachni/browser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def has_executable?
def executable
@path ||= begin
path = Selenium::WebDriver::Platform.find_binary('chromedriver')
raise Error::MissingExecutable, 'Chrome could not be found in PATH.' unless path
raise Error::MissingExecutable, 'chromeriver could not be found in PATH.' unless path
Selenium::WebDriver::Platform.assert_executable path
path
end
Expand Down

0 comments on commit 307cb42

Please sign in to comment.