title: Webdrivers::BrowserNotFound: Failed to find Chrome binary
body: <p>I am trying to run a system test and keep running in this error:</p>
  <p>rails aborted!
  Webdrivers::BrowserNotFound: Failed to find Chrome binary.
  /home/hasani/PROJECTS/hasani_pos/test/application_system_test_case.rb:4:in <code>&lt;class:ApplicationSystemTestCase&gt;' /home/hasani/PROJECTS/hasani_pos/test/application_system_test_case.rb:3:in </code>'
  /home/hasani/PROJECTS/hasani_pos/test/system/items_test.rb:1:in <code>&lt;main&gt;' /home/hasani/PROJECTS/hasani_pos/bin/rails:5:in </code>&lt;top (required)&gt;'
  /home/hasani/PROJECTS/hasani_pos/bin/spring:10:in <code>block in &lt;top (required)&gt;' /home/hasani/PROJECTS/hasani_pos/bin/spring:7:in </code>&lt;top (required)&gt;'
  Tasks: TOP =&gt; test:system
  (See full trace by running task with --trace)</p>
  <p>items_test.rb</p>
  <pre><code>require &quot;application_system_test_case&quot;
  
  class ItemsTest &lt; ApplicationSystemTestCase
    test &quot;visiting the index&quot; do
      visit '/items'
      assert_selector &quot;h1&quot;, text: &quot;Items&quot;
    end
  
    test &quot;creating an item&quot; do
      visit '/items'
      click_on &quot;Create Item&quot;
      assert_template 'new'
    end
  end
  </code></pre>
  <p>test_helper.rb</p>
  <pre><code>ENV['RAILS_ENV'] ||= 'test'
  require_relative &quot;../config/environment&quot;
  require &quot;rails/test_help&quot;
  require &quot;minitest/reporters&quot;
  require 'capybara/rails'
  require 'capybara/minitest'
  require 'webdrivers'
  Minitest::Reporters.use!
  
  class ActiveSupport::TestCase
    # Run tests in parallel with specified workers
    parallelize(workers: :number_of_processors)
  
    # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
    fixtures :all
  
    def is_logged_in?
      !session[:user_id].nil?
    end
  
    # Make the Capybara DSL available in all integration tests
    include Capybara::DSL
    # Make `assert_*` methods behave like Minitest assertions
    include Capybara::Minitest::Assertions
  
    # Reset sessions and driver between tests
    teardown do
      Capybara.reset_sessions!
      Capybara.use_default_driver
    end
  end
  </code></pre>
  <p>index.html.erb</p>
  <pre><code>&lt;%= provide(:title, 'Item Index') %&gt;
  &lt;h1&gt;Item Index&lt;/h1&gt;
    
    &lt;a href=&quot;/add&quot; class=&quot;btn btn-primary&quot;&gt;Create Item&lt;/a&gt;
    
    &lt;div class=&quot;row&quot;&gt;
      &lt;div class=&quot;col-md-6 col-md-offset-3&quot;&gt;
        &lt;table&gt;
          &lt;tr&gt;
            &lt;thead&gt;
              &lt;th&gt;Name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
              &lt;th&gt;Price&lt;/th&gt;
            &lt;/thead&gt;
          &lt;/tr&gt;
          &lt;% @items.each do |item| %&gt;
            &lt;tr&gt;
              &lt;td&gt;&lt;%= item.name %&gt;&lt;/td&gt;
              &lt;td&gt;&lt;%= item.description %&gt;&lt;/td&gt;
              &lt;td&gt;&lt;%= item.price %&gt;&lt;/td&gt;
              &lt;td&gt;
                &lt;%= link_to &quot;Edit&quot;, edit_item_path(item) %&gt;
                &lt;%= link_to &quot;Delete&quot;, 
                            item_path(item), method: :delete, 
                            &quot;data-confirm&quot;: &quot;Are you sure you want to delete?&quot; %&gt;
              &lt;/td&gt;
            &lt;/tr&gt;
          &lt;% end %&gt;  
        &lt;/table&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  </code></pre>
  <p>new.html.erb</p>
  <pre><code>&lt;h1&gt;Create Item&lt;/h1&gt;
  
  &lt;div class=&quot;row&quot;&gt;
    &lt;div class=&quot;col-md-6 col-md-offset-3&quot;&gt;
      &lt;%= form_for(@item) do |f| %&gt;
      &lt;%= render 'shared/error_msg' %&gt;  
  
        &lt;%= f.label :name %&gt;
        &lt;%= f.text_field :name %&gt;
     
        &lt;%= f.label :description %&gt;
        &lt;%= f.text_area :description %&gt;
        
        &lt;%= f.label :price %&gt;
        &lt;%= f.number_field :price %&gt;
        
        &lt;%= f.submit &quot;Create Item&quot;, class: &quot;btn btn-primary&quot; %&gt;
      &lt;% end %&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>