Sha256: 4a4513321f2338c59be1c1ad7d5496ef4785dc76f802abb7966c05df8223a092

Contents?: true

Size: 175 Bytes

Versions: 7

Compression:

Stored size: 175 Bytes

Contents

module Selenium
module Locator
  def by_name(name)
    name
  end
  
  def by_id(id)
    "id=#{id}"
  end
  
  def by_text(text)
    "link=#{text}"
  end
end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
Selenium-1.0.4 lib/selenium/locator.rb
Selenium-1.0.0 lib/selenium/locator.rb
Selenium-1.0.1 lib/selenium/locator.rb
Selenium-1.0.2 lib/selenium/locator.rb
Selenium-1.1.12 lib/selenium/locator.rb
Selenium-1.0.9 lib/selenium/locator.rb
Selenium-1.1.11 lib/selenium/locator.rb