Module: Watir::FormAccess

Included in:
Form, FormWrapper
Defined in:
lib/watir/form.rb

Overview

Forms

Instance Method Summary collapse

Instance Method Details

#action ⇒ Object



9
10
11
# File 'lib/watir/form.rb', line 9

def action
  @ole_object.action
end

#id ⇒ Object



15
16
17
# File 'lib/watir/form.rb', line 15

def id
  @ole_object.invoke('id')
end

#method ⇒ Object



12
13
14
# File 'lib/watir/form.rb', line 12

def method
  @ole_object.invoke('method')
end

#name ⇒ Object



6
7
8
# File 'lib/watir/form.rb', line 6

def name
  @ole_object.getAttributeNode('name').value
end