Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

makeFirefoxProfile

Make Firefox profile.


Description

makeFirefoxProfile A utility function to make a firefox profile.

Usage

makeFirefoxProfile(opts)

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

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

## End(Not run)

RSelenium

R Bindings for 'Selenium WebDriver'

v1.7.7
AGPL-3
Authors
John Harrison [aut] (original author), Ju Yeong Kim [cre] (rOpenSci maintainer)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.