Class: Ferrum::Browser::Options
- Inherits:
-
Object
- Object
- Ferrum::Browser::Options
- Defined in:
- lib/capybara/cuprite/options.rb
Instance Attribute Summary collapse
-
#url_blacklist ⇒ Object
Returns the value of attribute url_blacklist.
-
#url_whitelist ⇒ Object
Returns the value of attribute url_whitelist.
-
#window_size ⇒ Object
writeonly
Sets the attribute window_size.
Instance Method Summary collapse
Instance Attribute Details
#url_blacklist ⇒ Object
Returns the value of attribute url_blacklist.
7 8 9 |
# File 'lib/capybara/cuprite/options.rb', line 7 def url_blacklist @url_blacklist end |
#url_whitelist ⇒ Object
Returns the value of attribute url_whitelist.
7 8 9 |
# File 'lib/capybara/cuprite/options.rb', line 7 def url_whitelist @url_whitelist end |
#window_size=(value) ⇒ Object (writeonly)
Sets the attribute window_size
6 7 8 |
# File 'lib/capybara/cuprite/options.rb', line 6 def window_size=(value) @window_size = value end |
Instance Method Details
#reset_window_size ⇒ Object
9 10 11 |
# File 'lib/capybara/cuprite/options.rb', line 9 def reset_window_size @window_size = @options[:window_size] end |