Thoughts of a Goldfish by Daniel Brolund

April 16, 2009

Getting HTML element screen position

Filed under: bumblebee — Tags: , , — danielbrolund @ 15:55
In my struggle to make Bumblebee fit for documenting web sites using Selenium, I need to crop screen-shots to show only a certain element of a web page, e.g. a certain menu or a cell in a table, instead of showing the whole screen every time. In order to do so I need to know the position of an element relative to the screen.

Blog at WordPress.com.