title: how to access scroll bar inside the div using protractor for e2e
body: <p>im currently writing an e2e script however, im having issues accessing an element when the a div overflows and scrollbar within the div is being activated.</p>
  
  <p>Inside the form, i need to access the scroll down inside the div of the request travel form.</p>
  
  <p><a href="https://i.stack.imgur.com/6Z5Bb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6Z5Bb.png" alt="enter image description here"></a></p>
  
  <p>I tried using:</p>
  
  <pre><code> browser.executeScript("window.scrollTo(0,10000);").then(callback);
  </code></pre>
  
  <p>However, the scrollbar that it access is the browser itself not the div i intended to scroll down.</p>
  
  <p>Any leads or suggestion is greatly appreciate.</p>
  
  <p>Thanks!</p>