RSelenium icon indicating copy to clipboard operation
RSelenium copied to clipboard

Executing JavaScript on page

Open NilssonHedge opened this issue 6 years ago • 0 comments

Hi, I've recently upgraded the Chromedriver and I'm getting the following error message when trying to run a JavaScript on a page. This may be some terrible error on my side, so please accept my apologies if this has a quick and easy fix. I'm using R.

Selenium message:javascript error: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them (Session info: chrome=78.0.3904.87) Build info: version: '4.0.0-alpha-2', revision: 'f148142cf8', time: '2019-07-01T21:30:10' System info: host: 'x', ip: 'x, os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_231' Driver info: driver.version: unknown

Error: Summary: JavaScriptError Detail: An error occurred while executing user supplied JavaScript. class: org.openqa.selenium.JavascriptException Further Details: run errorDetails method

Operating System

Windows 10

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

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

Chrome 78.0.3904.87 (Official Build) (64-bit)

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

Expected behaviour

Run the script

Actual behaviour

Script does not execute.

Steps to reproduce the behaviour

NilssonHedge avatar Nov 10 '19 11:11 NilssonHedge