Class: Ferrum::Browser::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/capybara/cuprite/options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#url_blacklistObject

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_whitelistObject

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

Parameters:

  • value

    the value to set the attribute window_size to.



6
7
8
# File 'lib/capybara/cuprite/options.rb', line 6

def window_size=(value)
  @window_size = value
end

Instance Method Details

#reset_window_sizeObject



9
10
11
# File 'lib/capybara/cuprite/options.rb', line 9

def reset_window_size
  @window_size = @options[:window_size]
end