title: Automatic Horizontal scroll not working in Selenium
body: <p>I have tried many codes but none worked for me.The site is built in Angular.</p>
  
  <pre><code>WebElement columnElement = driver.findElement(By.id("i301Indv"));
  ((JavascriptExecutor)getDriver()).executeScript(
      "arguments[0].scrollIntoView(true);", columnElement);
  
  
  WebElement columnElement = driver.findElement(By.id("i301Indv"));
  ((JavascriptExecutor)getDriver()).executeScript(
      "arguments[0].scrollIntoView();", columnElement);
  
  
  WebElement columnElement = driver.findElement(By.id("i301Indv"));
  ((JavascriptExecutor) driver).executeScript(
      "arguments[0].scrollLeft = arguments[0].offsetWidth", columnElement);
  </code></pre>