scroll up the page to the top in selenium
<p>How to scroll the webpage to the top of the page. </p>

<p>I know scrolling the page to the bottom is:    </p>

<pre><code>window.scrollTo(0,document.body.scrollHeight)
</code></pre>

<p>just like that is it possible to scroll the page to the top </p>