Dimension

This method is used to get the window sizes.


Syntax :

s.Dimension.GetSize();
s.Dimension.GetXPosition("locator");It returns the X position of the element.
s.Dimension.GetYPosition("locator");It returns the Y position of the element.