title: JavascriptExecutor cannot be resolved to a type
body: <p>I am getting following error</p>
  
  <pre><code>JavascriptExecutor cannot be resolved to a type
  </code></pre>
  
  <p>while i am using the following</p>
  
  <pre><code>((JavascriptExecutor) driver).executeScript("arguments[0].scrollIntoView()", webelement);
  </code></pre>