Class: Chromate::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/chromate.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



17
18
19
20
21
22
23
# File 'lib/chromate.rb', line 17

def initialize
  @user_data_dir = nil
  @headless = true
  @user_agent = nil
  @native_control = false
  @proxy = nil
end

Instance Attribute Details

#headlessObject

Returns the value of attribute headless.



15
16
17
# File 'lib/chromate.rb', line 15

def headless
  @headless
end

#native_controlObject

Returns the value of attribute native_control.



15
16
17
# File 'lib/chromate.rb', line 15

def native_control
  @native_control
end

#proxyObject

Returns the value of attribute proxy.



15
16
17
# File 'lib/chromate.rb', line 15

def proxy
  @proxy
end

#user_agentObject

Returns the value of attribute user_agent.



15
16
17
# File 'lib/chromate.rb', line 15

def user_agent
  @user_agent
end

#user_data_dirObject

Returns the value of attribute user_data_dir.



15
16
17
# File 'lib/chromate.rb', line 15

def user_data_dir
  @user_data_dir
end