module selenium-webdriver/firefox/profile
Profile management module. This module is considered internal; users should use selenium-webdriver/firefox.
Functions
Decodes a base64 encoded profile.
Parameters
- data
string The base64 encoded string.
loadUserPrefs(f)code »
Parses a user.js file in a Firefox profile directory.
Parameters
- f
string Path to the file to parse.
Returns
webdriver.promise.PromiseA promise for the parsed preferences as a JSON object. If the file does not exist, an empty object will be returned.
Types
- Profile
Models a Firefox proifle directory for use with the FirefoxDriver.