summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qa/qa/page/README.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/qa/qa/page/README.md b/qa/qa/page/README.md
index 2dbc59846e7..dfad460a9a5 100644
--- a/qa/qa/page/README.md
+++ b/qa/qa/page/README.md
@@ -86,8 +86,12 @@ module Page
end
```
-It is possible to use `element` DSL method without value, with a String value
-or with a Regexp.
+The `view` DSL method declares the filename of the view where an
+`element` is implmented.
+
+The `element` DSL method in turn declares an element and defines a value
+to match to the actual view code. It is possible to use `element` with value,
+with a String value or with a Regexp.
```ruby
view 'app/views/my/view.html.haml' do