ropensci / RSelenium

An R client for Selenium Remote WebDriver
https://docs.ropensci.org/RSelenium
343 stars 81 forks source link

Right Click won't work in Chrome on a Qlik Sense dashboard #215

Open chriskuchar opened 5 years ago

chriskuchar commented 5 years ago

Operating System

Windows 7

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

R Selenium 1.7.5

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

Chrome 77.0.3865.90 (Official Build) (64-bit)

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

ChromeDriver 77.0.3865.40

Expected behaviour

Right click on any element on a chrome based qliksense page

Actual behaviour

Only left click will work, even if you set buttonid=2

Steps to reproduce the behaviour

  1. Login or obtain free trial of qlik at qlik.com, and use the browser version of any sheet..
  2. Run this code: library(RSelenium) driver <- rsDriver(browser=c("chrome"), chromever="77.0.3865.40") remDr <- driver[["client"]] remDr$navigate("http://YourQlikSensePageHere") cell <- remDr$findElement(using='css', '[Any Class, title, etc. on the page]') remDr$mouseMoveToLocation(webElement = cell) remDr$click(buttonid=2)