Closed friscodelrosario closed 4 years ago
Yes, it seems like an easy thing, just a different set of browser capabilities when starting the session.
library(webdriver) library(callr)
args <- c("browserName"="chrome", "start-maximized"=TRUE) p = process$new(command="/usr/local/bin/chromedriver", args) session = Session$new(host="127.0.0.1", port=9515) session$go("http://www.google.com")
Is it a matter of naming browserName in desired capabilities? If so, what's the magic incantation for browser instantiation?