RSelenium icon indicating copy to clipboard operation
RSelenium copied to clipboard

feature request: return coordinates of interactive user clicks of screenshot of current page

Open mikejacktzen opened this issue 7 years ago • 0 comments

I'm guessing this is a hard feature request, but figured i'd pose it anyway.

Is there a way to return the (x,y) coordinates for points clicked in the Rstudio viewer displaying the output of remDr$screenshot() .

I'm guessing some kind of 'viewer' version for base::locator()would get the ball rolling

but then there would need to be some kind of intermediate coordinate remapping from the coordinate system used by base::locator() and the one used by selenium

This would have major benefits in letting the user interactively find 'forms' and 'menus'

again, i'm guessing this is a hard nut to crack.

mikejacktzen avatar Dec 08 '17 19:12 mikejacktzen