class Capybara::UI::Field

A form field.

Public Class Methods

root(selector) click to toggle source
Calls superclass method
# File lib/capybara/ui/widgets/field.rb, line 5
def self.root(selector)
  super String === selector ? [:field, selector] : selector
end

Public Instance Methods

get() click to toggle source

@return This field's value.

Override this to get the actual value.

# File lib/capybara/ui/widgets/field.rb, line 12
def get
  raise NotImplementedError
end
set(value) click to toggle source

Sets the field value.

Override this to set the value.

# File lib/capybara/ui/widgets/field.rb, line 19
def set(value)
  raise NotImplementedError
end