My problem is related to this post: session not created: This version of ChromeDriver only supports Chrome version 74 error with ChromeDriver Chrome using Selenium. Basically there is a mismatch between the version of chrome and chromedriver that's sourced by the code.
I'm running chrome 73.0.3683.86 (Official Build) (32-bit) on a corporate computer (so can't be upgraded) and have downloaded chromedriver (v73.0.3683.68) which has been saved to the path (saved to users path as I can't access system path). R version is 3.6.2. RSelenium version is 1.7.7.
cprof <- getChromeProfile("C:/Users/sizhu/AppData/Local/Google/Chrome/UserData/Default","Default")
rD1 <- rsDriver(browser = "chrome",chromever = "73.0.3683.68",extraCapabilities = cprof)
When I ran the above lines, it gives me error: version requested doesn't match versions available = 80.0.3987.106,80.0.3987.16,81.0.4044.20,81.0.4044.69
I have run binman::list_versions("chromedriver")
to see what chrome driver version is sourced, it shows the ones above in bold and not the one I saved in the path. Is there a way to force the program to use the chrome driver I downloaded? (sorry I'm a newbie to programming in general so it might just be very trivial...)
Thanks very much in advance!
update not quite an eventual solution to this but made some changes so the codes can now open up the chrome browser: 1)going into wdman>yaml>chromedriver 2)change history to 20 (it was 3 hence every time I run this line, 3 latest chromever drivers (v80-81) are downloaded to binman; well since what I need is v73, I need to go back 20 versions) 3)save and specify chromever = "73.0.3683.68" which can now be found. The problem with this approach is obvious, and still doesn't solve the puzzling fact that why the heck the v73 chromedriver that I've saved to the path is not found