README.rdoc in capybara-0.1.3 vs README.rdoc in capybara-0.1.4
- old
+ new
@@ -117,10 +117,14 @@
find_field
find_link
find_button
field_labeled
+Scripting:
+
+ evaluate_script – Returns the value of the executed javascript (only works on javascript supported drivers)
+
Debugging:
save_and_open_page
== Using the DSL outside cucumber
@@ -156,11 +160,11 @@
== XPath and CSS
Capybara does not try to guess what kind of selector you are going to give it,
if you want to use CSS with your 'within' declarations for example, you'll need
to do:
-
+
within(:css, 'ul li') { ... }
Alternatively you can set the default selector to CSS, which may help if you are
moving from Webrat and used CSS a lot, or simply generally prefer CSS:
@@ -205,10 +209,13 @@
The following people have dedicated their time and effort to Capybara:
* Jonas Nicklas
* Dennis Rogenius
* Rob Holland
+* Wincent Colaiuta
+* Andrea Fazzi
+* Aslak Hellesøy
== License:
(The MIT License)
@@ -229,6 +236,6 @@
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.