RSelenium icon indicating copy to clipboard operation
RSelenium copied to clipboard

Start a private google chrome session with Rselenium

Open p3nt0xide opened this issue 1 year ago • 0 comments

Hi there,

I am trying to set up a script which starts the opening of a private chrome. However, I am unable to do so. Here is what I tried already:

  • modifying chrome default profile via the preferences file
  • adding an "--incognito" argument via the extraCapabilities argument in rsDriver, see https://stackoverflow.com/questions/27630190/python-selenium-incognito-private-mode

Does anyone have an idea?

my code:

remote_driver<-rsDriver(browser = "chrome", chromever = "113.0.5672.63", verbose = F, port =free_port(), extraCapabilities= list(args = "--incognito"))

remDr <- remote_driver$client

remDr$open()

p3nt0xide avatar May 17 '23 12:05 p3nt0xide