makeFirefoxProfile: Make Firefox profile.

Description Usage Arguments Detail Note Examples

View source: R/util.R

Description

makeFirefoxProfile A utility function to make a firefox profile.

Usage

1

Arguments

opts

option list of firefox

Detail

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

Note

Windows doesn't come with command-line zip capability. Installing rtools https://CRAN.R-project.org/bin/windows/Rtools/index.html is a straightforward way to gain this capability.

Examples

1
2
3
4
5
6
## Not run: 
fprof <- makeFirefoxProfile(list(browser.download.dir = "D:/temp"))
remDr <- remoteDriver(extraCapabilities = fprof)
remDr$open()

## End(Not run)

JohanHJH/RSelenium documentation built on May 22, 2019, 5:36 p.m.