title: How to run a Chromium Browser with Selenium?
body: <p>Is it possible to run a Selenium test in Chromium Browser (not Google Chrome Browser)?</p>
  
  <p>My GoogleDrive location: <img src="https://i.imgur.com/Njy8Ln3.jpg" alt="GoogleDrive location"></p>
  
  <p>My Chromium location: <img src="https://i.imgur.com/MF0ZI4u.jpg" alt="Chromium location"></p>
  
  <p>FYI: I am using Java</p>
  
  <p>My code ( for the moment I am run FirefoxDriver(gecko):</p>
  
  <p><i></p>
  
  <pre><code>import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.firefox.FirefoxDriver;
  
  public class MainClass {
  
  public static void main (String[] args){
      System.setProperty("webdriver.gecko.driver", "C:\\Users\\User\\IdeaProjects\\testselenium\\drivers\\geckodriver.exe");
      WebDriver driver = new FirefoxDriver();
      driver.get ("https://www.seleniumhq.org/");
     }
  } 
  </code></pre>
  
  <p></i></p>
  
  <p>I thought that this code would help but without success. Runs Google Chrome, not Chromium:</p>
  
  <p><i></p>
  
  <pre><code>import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.chrome.ChromeDriver;
  
  public class Chromium {
  
  public static void main (String[] args){
      System.setProperty("webdriver.chrome.driver", "C:\\Users\\User\\IdeaProjects\\testselenium\\drivers\\chromedriver.exe");
      System.setProperty("webdriver.chrome.binary", "C:\\Users\\User\\Downloads\\chrome-win\\chrome-win\\chrome.exe");
      WebDriver driver = new ChromeDriver();
      driver.get ("https://www.seleniumhq.org/");
     }
  } 
  </code></pre>
  
  <p></i></p>
  
  <p>What could be the problem? How can this question be resolved?</p>