RSelenium icon indicating copy to clipboard operation
RSelenium copied to clipboard

All clicks are left click regardless of input

Open Sxoa opened this issue 5 years ago • 1 comments
trafficstars

Operating System

Windows 10 Pro

Selenium Server version (selenium-server-standalone-3.0.1.jar etc.)

RSelenium 1.7.7

Browser version (firefox 50.1.0, chrome 54.0.2840.100 (64-bit) etc.)

Firebox 76.0.1 and Chrome 84.0.4147.30 (Official Build) beta (64-bit)

Other driver version (chromedriver 2.27, geckodriver v0.11.1, iedriver x64_3.0.0, PhantomJS 2.1.1 etc.)

Expected behaviour

This: rdc$click(buttonId = 2) should right click (open a context menu)

Actual behaviour

All clicks are left clicks rdc$click(buttonId = 2) rdc$click(buttonId = "RIGHT") rdc$click(buttonId = "random text") rdc$click(buttonId = "squark")

All produce a left click

Steps to reproduce the behaviour

requireRSelenium) rd <- rsDriver(browser = 'firefox') rdc <- rd$client rdc$navigate('http://google.com/ncr') elem <- rdc$findElement('partial link','About') rdc$mouseMoveToLocation(webElement = elem) rdc$click(buttonId = "random text")

Sxoa avatar Jun 04 '20 11:06 Sxoa