Class: Capybara::SessionConfig
- Inherits:
-
Object
- Object
- Capybara::SessionConfig
- Defined in:
- lib/tanakai/capybara_ext/session/config.rb
Instance Attribute Summary collapse
-
#cookies ⇒ Object
Returns the value of attribute cookies.
-
#encoding ⇒ Object
Returns the value of attribute encoding.
-
#proxy ⇒ Object
Returns the value of attribute proxy.
- #retry_request_errors ⇒ Object
- #skip_request_errors ⇒ Object
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
Instance Method Summary collapse
Instance Attribute Details
#cookies ⇒ Object
Returns the value of attribute cookies.
3 4 5 |
# File 'lib/tanakai/capybara_ext/session/config.rb', line 3 def @cookies end |
#encoding ⇒ Object
Returns the value of attribute encoding.
3 4 5 |
# File 'lib/tanakai/capybara_ext/session/config.rb', line 3 def encoding @encoding end |
#proxy ⇒ Object
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_errors ⇒ Object
6 7 8 |
# File 'lib/tanakai/capybara_ext/session/config.rb', line 6 def retry_request_errors @retry_request_errors ||= [] end |
#skip_request_errors ⇒ Object
10 11 12 |
# File 'lib/tanakai/capybara_ext/session/config.rb', line 10 def skip_request_errors @skip_request_errors ||= [] end |
#user_agent ⇒ Object
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_request ⇒ Object
18 19 20 |
# File 'lib/tanakai/capybara_ext/session/config.rb', line 18 def before_request @before_request ||= {} end |
#restart_if ⇒ Object
14 15 16 |
# File 'lib/tanakai/capybara_ext/session/config.rb', line 14 def restart_if @restart_if ||= {} end |