diff --git a/lib/webdrivers/chrome_finder.rb b/lib/webdrivers/chrome_finder.rb index 8d72c49a..5ff6c3f4 100644 --- a/lib/webdrivers/chrome_finder.rb +++ b/lib/webdrivers/chrome_finder.rb @@ -8,7 +8,7 @@ class ChromeFinder class << self def version version = send("#{System.platform}_version", location) - raise VersionError, 'Failed to find Chrome version.' if version.nil? || version.empty? + raise VersionError, 'Failed to determine Chrome version.' if version.nil? || version.empty? Webdrivers.logger.debug "Browser version: #{version}" version[/\d+\.\d+\.\d+\.\d+/] # Google Chrome 73.0.3683.75 -> 73.0.3683.75 @@ -18,7 +18,7 @@ def location chrome_bin = user_defined_location || send("#{System.platform}_location") return chrome_bin unless chrome_bin.nil? - raise BrowserNotFound, 'Failed to find Chrome binary.' + raise BrowserNotFound, 'Failed to determine Chrome binary location.' end private