lib/webdrivers/chrome_finder.rb in webdrivers-4.1.3 vs lib/webdrivers/chrome_finder.rb in webdrivers-4.2.0
- old
+ new
@@ -64,10 +64,10 @@
nil
end
def linux_location
- directories = %w[/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /opt/google/chrome]
+ directories = %w[/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /snap/bin /opt/google/chrome]
files = %w[google-chrome chrome chromium chromium-browser]
directories.each do |dir|
files.each do |file|
option = "#{dir}/#{file}"