vendor/gems/gems/firewatir-1.2.1/htmlelements.rb
# Description:
#   Locate the image element on the page.
#

Locate the image element on the page.
Locate the image element on the page .
def locate
        if @how == :jssh_name
            @element_name = @what
        elsif @how == :xpath
            @element_name = element_by_xpath(@container, @what)
        else
            @element_name = locate_tagged_element('IMG', @how, @what)
        end
        @o = self
    end
def locate if @how == :jssh_name @element_name = @what elsif @how == :xpath @element_name = element_by_xpath ( @container , @what ) else @element_name = locate_tagged_element ( 'IMG' , @how , @what ) end @o = self end
Description:
Locate the image element on the page.
Description : Locate the image element on the page .