mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Fixup documentation for XPath class
This commit is contained in:
parent
6ba5d8f9fd
commit
5dfe70eb67
1 changed files with 8 additions and 2 deletions
|
@ -1,7 +1,13 @@
|
|||
module Capybara
|
||||
# this is a class for generating XPath queries, use it like this:
|
||||
|
||||
##
|
||||
#
|
||||
# This is a class for generating XPath queries, use it like this:
|
||||
#
|
||||
# Xpath.text_field('foo').link('blah').to_s
|
||||
# this will generate an XPath that matches either a text field or a link
|
||||
#
|
||||
# This will generate an XPath that matches either a text field or a link.
|
||||
#
|
||||
class XPath
|
||||
|
||||
class << self
|
||||
|
|
Loading…
Reference in a new issue