I am running on Screen Resolution of (1366 X 768 ), but when I call getSize().getWidth()
and getSize().getHeight()
methods , the result I'm getting is:
Size of Width is : 1382 Size of Height is : 744
for IE, FF and Chrome web pages. URL used: https://www.google.com
For python selenium webdriver use function get_window_size: