diff --git a/lib/webdrivers/chrome_finder.rb b/lib/webdrivers/chrome_finder.rb index ad36fa05..28718424 100644 --- a/lib/webdrivers/chrome_finder.rb +++ b/lib/webdrivers/chrome_finder.rb @@ -90,7 +90,17 @@ def mac_location def linux_location return wsl_location if System.wsl_v1? - directories = %w[/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /snap/bin /opt/google/chrome /opt/chromium.org/chromium] + directories = %w[ + /usr/local/sbin + /usr/local/bin + /usr/sbin + /usr/bin + /sbin + /bin + /snap/bin + /opt/google/chrome + /opt/chromium.org/chromium + ] files = %w[google-chrome chrome chromium chromium-browser] directories.each do |dir|