Method: Webdrone::Form#clic

Defined in:
lib/webdrone/form.rb

#clic(key, n: 1, visible: true, scroll: false, parent: a0.conf.parent, mark: false) ⇒ Object


125
126
127
128
129
130
131
# File 'lib/webdrone/form.rb', line 125

def clic(key, n: 1, visible: true, scroll: false, parent: a0.conf.parent, mark: false)
  item = find_item(key, n: n, visible: visible, scroll: scroll, parent: parent)
  @a0.mark.mark_item item if mark
  item.click
rescue StandardError => error
  Webdrone.report_error(@a0, error)
end