In this video, I have explained : The new getRect() method to get the Height, Width, X-Y Co-ordinates in Selenium 4
The new getRect() method is introduced in WebDriver which is a combination of previous getSize() and getLocation() methods.
In Selenium 4, new getRect() method which returns a Rectangle object, and then you can directly get height, width and X/Y co-ordinates of element.
selenium 4,selenium,selenium 4 features,getRect,getRect in selenium 4,height and width of element in selenium,x and y co-ordinates in selenium,Naveen AutomationLabs,
0 Comments