Method: Selenium::WebDriver::Firefox::ProfilesIni#initialize

Defined in:
lib/selenium/webdriver/firefox/profiles_ini.rb

#initializeProfilesIni

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of ProfilesIni.

API:

  • private



25
26
27
28
29
30
# File 'lib/selenium/webdriver/firefox/profiles_ini.rb', line 25

def initialize
  @ini_path = File.join(Util.app_data_path, 'profiles.ini')
  @profile_paths = {}

  parse if File.exist?(@ini_path)
end