Showing posts with label storeElementPositionLeft command. Show all posts
Showing posts with label storeElementPositionLeft command. Show all posts

"storeElementPositionLeft" Command

In selenium, Many times you need  horizontal and verticle position of element on page. When you need any element's horizontal position on the page, you can use "storeElementPositionLeft" Command. It will return and store element's horizontal position in to specified veriable in value column.

In Bellow given example, storeElementPositionLeft command will store google search box's horizontal position in to variable "left".