README.rdoc in watir-1.6.7 vs README.rdoc in watir-1.7.0.rc1
- old
+ new
@@ -44,15 +44,15 @@
== Examples
Some examples from http://watir.com/examples
-Including Watir gem to drive Internet Explorer on Windows
+Loading Watir gem to drive Internet Explorer on Windows
require 'watir'
-Including FireWatir gem to drive Firefox on Windows/Mac/Linux
+Loading FireWatir gem to drive Firefox on Windows/Mac/Linux
require 'firewatir'
Starting a new browser & and going to our site
@@ -67,12 +67,12 @@
browser.text_field(:name => "entry.1.single").set "I come here from Australia. \n The weather is great here."
Setting and clearing a radio button
- browser.radio(:value => "watir").set
- browser.radio(:value => "watir".clear
+ browser.radio(:value => "Watir").set
+ browser.radio(:value => "Watir").clear
Setting and clearing check boxes
browser.checkbox(:value => "Ruby").set
browser.checkbox(:value => "Python").set
@@ -92,10 +92,10 @@
browser.button(:name => "submit").click
Checking for text in a page
- puts browser.text.include? "Your response has been recorded."
+ puts browser.text.include?("Your response has been recorded.")
Checking the title of a page
puts browser.title == "Thanks!"