Module: WatirNokogiri::UserEditable

Included in:
TextArea, TextField
Defined in:
lib/watir-nokogiri/user_editable.rb

Instance Method Summary collapse

Instance Method Details

#append(*args) ⇒ Object Also known as: <<

Appends the given value to the text in the text field.

Parameters:

  • *args (String, Symbol)

Raises:

  • (NotImplementedError)


22
23
24
25
# File 'lib/watir-nokogiri/user_editable.rb', line 22

def append(*args)
  assert_exists
  raise NotImplementedError, "not currently supported by WatirNokogiri"
end

#clearObject

Clears the text field.

Raises:

  • (NotImplementedError)


32
33
34
35
# File 'lib/watir-nokogiri/user_editable.rb', line 32

def clear
  assert_exists
  raise NotImplementedError, "not currently supported by WatirNokogiri"
end

#set(*args) ⇒ Object Also known as: value=

Clear the element, the type in the given value.

Parameters:

  • *args (String, Symbol)

Raises:

  • (NotImplementedError)


10
11
12
13
# File 'lib/watir-nokogiri/user_editable.rb', line 10

def set(*args)
  assert_exists
  raise NotImplementedError, "not currently supported by WatirNokogiri"
end