Class: Capybara::SessionConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/tanakai/capybara_ext/session/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cookiesObject

Returns the value of attribute cookies.



3
4
5
# File 'lib/tanakai/capybara_ext/session/config.rb', line 3

def cookies
  @cookies
end

#encodingObject

Returns the value of attribute encoding.



3
4
5
# File 'lib/tanakai/capybara_ext/session/config.rb', line 3

def encoding
  @encoding
end

#proxyObject

Returns the value of attribute proxy.



3
4
5
# File 'lib/tanakai/capybara_ext/session/config.rb', line 3

def proxy
  @proxy
end

#retry_request_errorsObject



6
7
8
# File 'lib/tanakai/capybara_ext/session/config.rb', line 6

def retry_request_errors
  @retry_request_errors ||= []
end

#skip_request_errorsObject



10
11
12
# File 'lib/tanakai/capybara_ext/session/config.rb', line 10

def skip_request_errors
  @skip_request_errors ||= []
end

#user_agentObject

Returns the value of attribute user_agent.



3
4
5
# File 'lib/tanakai/capybara_ext/session/config.rb', line 3

def user_agent
  @user_agent
end

Instance Method Details

#before_requestObject



18
19
20
# File 'lib/tanakai/capybara_ext/session/config.rb', line 18

def before_request
  @before_request ||= {}
end

#restart_ifObject



14
15
16
# File 'lib/tanakai/capybara_ext/session/config.rb', line 14

def restart_if
  @restart_if ||= {}
end