Sha256: 541ec3c25fd108eb45530b9faae1913cdcf558167d8ad83893833b57b2b6ac3c

Contents?: true

Size: 610 Bytes

Versions: 30

Compression:

Stored size: 610 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, dom.xpath(xpath).first)
    end

  end
end

Version data entries

30 entries across 30 versions & 15 rubygems

Version Path
diabolo-webrat-0.5.1 lib/webrat/core/locators.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/webrat-0.7.3/lib/webrat/core/locators.rb
indirect-webrat-0.7.5 lib/webrat/core/locators.rb
indirect-webrat-0.7.4 lib/webrat/core/locators.rb
webrat-0.7.3 lib/webrat/core/locators.rb
jbd-webrat-0.7.2.rails3 lib/webrat/core/locators.rb
webrat-0.7.2 lib/webrat/core/locators.rb
webrat-0.7.2.beta.2 lib/webrat/core/locators.rb
mutle-webrat-0.7.2.beta.1 lib/webrat/core/locators.rb
thoughtbot-webrat-0.7.2.pre lib/webrat/core/locators.rb
webrat-0.7.2.beta.1 lib/webrat/core/locators.rb
honkster-webrat-0.7.1.2 lib/webrat/core/locators.rb
honkster-webrat-0.7.1.1 lib/webrat/core/locators.rb
revo-webrat-0.7.0.1 lib/webrat/core/locators.rb
webrat-0.7.1 lib/webrat/core/locators.rb
davidtrogers-webrat-0.7.0 lib/webrat/core/locators.rb
revo-webrat-0.7.0 lib/webrat/core/locators.rb
revo-webrat-0.7.1.pre lib/webrat/core/locators.rb
webrat-0.7.0 lib/webrat/core/locators.rb
honkster-webrat-0.6.0.10 lib/webrat/core/locators.rb