Description Usage Arguments Detail Examples
getFirefoxProfile
A utility function to get a firefox profile.
1 | getFirefoxProfile(profDir, useBase = FALSE)
|
profDir |
The directory in which the firefox profile resides |
useBase |
Logical indicating whether to attempt to use zip from utils package. Maybe easier for Windows users. |
A firefox profile directory is zipped and base64 encoded. It can then be passed to the selenium server as a required capability with key firefox_profile
1 2 3 4 5 6 | ## Not run:
fprof <- getFirefoxProfile("~/.mozilla/firefox/9qlj1ofd.testprofile")
remDr <- remoteDriver(extraCapabilities = fprof)
remDr$open()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.