Class FirefoxPrefsReader


  • public class FirefoxPrefsReader
    extends Object
    Author:
    Karel Piwko, Selenium commiters
    • Constructor Detail

      • FirefoxPrefsReader

        public FirefoxPrefsReader()
    • Method Detail

      • getPreferences

        public static Map<String,​Object> getPreferences​(File prefs)
                                                       throws IllegalArgumentException
        Reads Firefox preferences in specific format from file and
        Parameters:
        prefs - File to be parsed
        Returns:
        Map of String|Boolean|Integer to be later used by FirefoxProfile
        Throws:
        IllegalArgumentException - If parsing went wrong