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

getFirefoxProfile

Get Firefox profile.


Description

getFirefoxProfile A utility function to get a firefox profile.

Usage

getFirefoxProfile(profDir, useBase = FALSE)

Arguments

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.

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

Examples

## Not run: 
fprof <- getFirefoxProfile("~/.mozilla/firefox/9qlj1ofd.testprofile")
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.