title: I do not understand why " options.addArguments("--disable-extensions")" is error in selenium webdriver
body: <p>I do not understand why <code>"options.addArguments("--disable-extensions")"</code> is giving an error in selenium webdriver. When I hover it, show command is </p>
  
  <pre><code>"Line breakpoint:Chromedriver [line: 11] - main(String[]).-The method addArguments(String[]) in the type ChromeOptions is not applicable for the arguments (String)"
  </code></pre>
  
  <p>I can not fix it. </p>
  
  <p>My source :</p>
  
  <pre><code>import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.chrome.ChromeDriver;
  import org.openqa.selenium.chrome.ChromeOptions;
  
  public class Chromedriver {
     public static void main(String[] args){
        ChromeOptions options = new ChromeOptions();
        System.setProperty("webdriver.chrome.driver", 
        "D:\\TestSW\\chromedriver_win321\\chromedriver.exe");
        WebDriver driver =new ChromeDriver(options);
        options.addArguments("--disable-extensions");
        driver.get("https://www.google.com.vn/");
        driver.getCurrentUrl();
        driver.getTitle();
  
  }
  }
  </code></pre>