Class Selenium::WebDriver::Firefox::Profile
In: lib/selenium/webdriver/firefox/profile.rb
Parent: Object

Methods

Included Modules

ProfileHelper

Constants

VALID_PREFERENCE_TYPES = [TrueClass, FalseClass, Integer, Float, String]
WEBDRIVER_EXTENSION_PATH = File.expand_path("#{WebDriver.root}/selenium/webdriver/firefox/extension/webdriver.xpi")
WEBDRIVER_PREFS = { :native_events => 'webdriver_enable_native_events', :untrusted_certs => 'webdriver_accept_untrusted_certs', :untrusted_issuer => 'webdriver_assume_untrusted_issuer', :port => 'webdriver_firefox_port', :log_file => 'webdriver.log.file'

Attributes

load_no_focus_lib  [W] 
log_file  [R] 
name  [R] 
native_events  [W] 
secure_ssl  [W] 

Public Class methods

Create a new Profile instance

@example User configured profile

  profile = Selenium::WebDriver::Firefox::Profile.new
  profile['network.proxy.http'] = 'localhost'
  profile['network.proxy.http_port'] = 9090

  driver = Selenium::WebDriver.for :firefox, :profile => profile

Public Instance methods

Add the extension (directory, .zip or .xpi) at the given path to the profile.

[Validate]