Skip to content
Browse files

Clarify in README that "within" scopes to the first element

  • Loading branch information...
1 parent 7b69aa6 commit e92ef27842c20eccde9a64a712f20eef24d8c5aa @joliss joliss committed May 1, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.rdoc
View
3 README.rdoc
@@ -411,6 +411,9 @@ method. Optionally you can specify which kind of selector to use.
fill_in 'Name', :with => 'Jimmy'
end
+Note that <tt>within</tt> will scope the actions to the _first_ (not _any_)
+element that matches the selector.
+
There are special methods for restricting the scope to a specific fieldset,
identified by either an id or the text of the fieldet's legend tag, and to a
specific table, identified by either id or text of the table's caption tag.

0 comments on commit e92ef27

Please sign in to comment.
Something went wrong with that request. Please try again.