RSelenium
RSelenium copied to clipboard
feature request: return coordinates of interactive user clicks of screenshot of current page
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.