title: Scrolling using Selenium WebDriver with Java
body: <p>I am using Selenium WebDriver to automate my browser tests.  <strong>My browser header is floating and is always present irrespective of the browser scroll</strong>. </p>
  
  <p>So when  I click on certain elements that are present below the current visible region of the browser, selenium tries to scroll the element into view and click them. </p>
  
  <p>But because of the auto scrolling as such the elements are scrolled behind the floating header and when any action is performed on them, the elements in the page header get clicked.</p>
  
  <p><strong>is there any way to limit the default scroll  of the WebDriver</strong>?</p>