Getting Coordinates from Selenium
I am trying to work with the Selenium on Firefox. I was wondering does anyone know a way to get an element's/widget's coordinates directly from the IDE? Is there an add-on or some option that already exists? At the moment it is not providing me with enough information for each thing I click on.
jeanid last edited by
You can use Web Developer, which is an Add-on of firefox. After installation, perform following: Click on Miscellaneous and select Display Line Guides Click on Add Horizontal Line Guide button to add the horizontal line to get the Y Coordinate of Element and Click on Add Vertical Line Guide button to add Vertical line to get the X coordinate of Element scroll horizontal/vertical line such that the element's position comes to the intersection of the lines. Select Lines to see the coordinates just right to the Add Vertical Line Guide button