How to get the Current window Size using Selenium Webdriver?
<p>I am running on Screen Resolution of (1366 X 768 ), but when I call <code>getSize().getWidth()</code> and <code>getSize().getHeight()</code> methods , the result I'm getting is:</p>

<blockquote>
  <p>Size of Width is : 1382 Size of Height is : 744</p>
</blockquote>

<p>for IE, FF and Chrome web pages. URL used: <a href="https://www.google.com" rel="nofollow noreferrer">https://www.google.com</a></p>