Module: WatirRobot::Image

Included in:
KeywordLibrary
Defined in:
lib/watir_robot/keywords/image.rb

Overview

Functionality related to images in an HTML document

Instance Method Summary (collapse)

Instance Method Details

- (Object) click_image(loc)

Click an image



12
13
14
# File 'lib/watir_robot/keywords/image.rb', line 12

def click_image(loc)
  @browser.image(parse_location(loc)).click
end