Sha256: 531eef389bae9cfd3f6367fedd62f35de4658bc3b864e2786af2ce81c677eb96

Contents?: true

Size: 620 Bytes

Versions: 49

Compression:

Stored size: 620 Bytes

Contents

require "webrat/core/locators/area_locator"
require "webrat/core/locators/button_locator"
require "webrat/core/locators/field_labeled_locator"
require "webrat/core/locators/label_locator"
require "webrat/core/locators/field_named_locator"
require "webrat/core/locators/field_by_id_locator"
require "webrat/core/locators/select_option_locator"
require "webrat/core/locators/link_locator"
require "webrat/core/locators/field_locator"
require "webrat/core/locators/form_locator"

module Webrat
  module Locators

    def field_by_xpath(xpath)
      Field.load(@session, Webrat::XML.xpath_at(dom, xpath))
    end

  end
end

Version data entries

49 entries across 49 versions & 21 rubygems

Version Path
metry-2.1.1 vendor/webrat/lib/webrat/core/locators.rb
metry-2.0.0 vendor/webrat/lib/webrat/core/locators.rb
metry-2.0.1 vendor/webrat/lib/webrat/core/locators.rb
metry-2.0.2 vendor/webrat/lib/webrat/core/locators.rb
metry-2.0.3 vendor/webrat/lib/webrat/core/locators.rb
metry-1.0.0 vendor/webrat/lib/webrat/core/locators.rb
metry-1.0.1 vendor/webrat/lib/webrat/core/locators.rb
metry-1.1.0 vendor/webrat/lib/webrat/core/locators.rb
metry-1.2.0 vendor/webrat/lib/webrat/core/locators.rb