Parent

Methods

Class/Module Index [+]

Quicksearch

Selenium::WebDriver::Firefox::ProfilesIni

@private

Public Class Methods

new() click to toggle source
# File firefox/src/rb/lib/selenium/webdriver/firefox/profiles_ini.rb, line 8
def initialize
  @ini_path = File.join(Util.app_data_path, "profiles.ini")
  @profile_paths = {}

  parse if File.exist?(@ini_path)
end

Public Instance Methods

[](name) click to toggle source
# File firefox/src/rb/lib/selenium/webdriver/firefox/profiles_ini.rb, line 15
def [](name)
  Profile.new @profile_paths[name]
end
refresh() click to toggle source
# File firefox/src/rb/lib/selenium/webdriver/firefox/profiles_ini.rb, line 19
def refresh
  @profile_paths.clear
  parse
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.