ropensci / RSelenium

An R client for Selenium Remote WebDriver

Home Page:https://docs.ropensci.org/RSelenium

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HELP: Typo 'buttondown' -> 'buttonup'

HenrikBengtsson opened this issue · comments

It looks like the "buttondown" in "...the next mouse-related command that should follow is buttondown" should be "buttonup";

RSelenium/R/remoteDriver.R

Lines 998 to 1003 in 31b0232

buttondown = function(buttonId = 0) {
"Click and hold the given mouse button (at the coordinates set by
the last moveto command). Note that the next mouse-related command
that should follow is buttondown . Any other mouse command (such
as click or another call to buttondown) will yield undefined
behaviour. buttonId - any one of 'LEFT'/0 'MIDDLE'/1 'RIGHT'/2.