Rselenium - "This version of Chromedriver only Supports Chrome version 74"

Asked

Viewed 930 times

2

I’m trying to use the Rselenium, but it seems that the chromedriver version has been updated and is returning the following error:

"Selenium message:Session not created: This version of Chromedriver only Supports Chrome version 74 (Driver info: chromedriver=74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}),Platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server Did does not provide any stacktrace information)"

The code I use is as follows::

webdrive = selenium(retcommand = T, verbose = T)
TerminalId = rstudioapi::terminalExecute(webdrive)
chrome = remoteDriver(browserName = "chrome", port = 4567)
chrome$open()

1 answer

2

If anyone is interested, I solved the problem with the following code:

webdrive = selenium(retcommand = T, verbose = T, chromever = "73.0.3683.68")
TerminalId = rstudioapi::terminalExecute(webdrive)
chrome = remoteDriver(browserName = "chrome", port = 4567)
chrome$open()

Browser other questions tagged

You are not signed in. Login or sign up in order to post.