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
aslakhellesoy-webrat-0.4.4.1 lib/webrat/core/locators.rb
casebook-webrat-0.4.4.1 lib/webrat/core/locators.rb
cavalle-webrat-0.4.4.1 lib/webrat/core/locators.rb
cavalle-webrat-0.4.4.2 lib/webrat/core/locators.rb
davidtrogers-webrat-0.4.4.2 lib/webrat/core/locators.rb
dbrady-webrat-0.4.4.1 lib/webrat/core/locators.rb
dbrady-webrat-0.4.4.2 lib/webrat/core/locators.rb
dbrady-webrat-0.4.4 lib/webrat/core/locators.rb
diabolo-diabolo-webrat-0.4.4 lib/webrat/core/locators.rb
diabolo-webrat-0.4.3 lib/webrat/core/locators.rb
diabolo-webrat-0.4.4.1 lib/webrat/core/locators.rb
diabolo-webrat-0.4.4.2 lib/webrat/core/locators.rb
diabolo-webrat-0.4.4 lib/webrat/core/locators.rb
dstrelau-webrat-0.5.1 lib/webrat/core/locators.rb
emipair-webrat-0.0.1 lib/webrat/core/locators.rb
futuresinc-webrat-0.4.4.100 lib/webrat/core/locators.rb
futuresinc-webrat-0.4.4.99 lib/webrat/core/locators.rb
garnierjm-webrat-0.4.5 lib/webrat/core/locators.rb
hardbap-webrat-0.5.1 lib/webrat/core/locators.rb
hardbap-webrat-0.5.2 lib/webrat/core/locators.rb