

You can see the profile path listed here. The profile is created in folder which can be found by browsing to chrome://version whilst using the profile. I created a profile by adding a person on chrome "seltestprof". Jsonlite::base64_enc(readBin(tmpfile, "raw", (tmpfile)$size)) If you wish to encode with jsonlite: tmpfile <- "C:/Users/john/Downloads/Adguard-AdBlocker_v2.5.11.crx" List(base64enc::base64encode("C:/Users/john/Downloads/Adguard-AdBlocker_v2.5.11.crx")) You can get the chrome crx file from for example (the id currently for adguard adblocker is: bgnkhhnnamicmpeenaelnjfhikgbkllg) once you have the crx file you will need to base64 encode it. You can also add extensions by base 64 encoding the relevant crx file. RD <- rsDriver(verbose = F, extraCapabilities = cprof) You can pass the extraCapabilities argument to the rsDriver function: cprof /Library/Application Support/Google/Chrome", "Default")
