lib/watir-webdriver/elements/checkbox.rb in watir-webdriver-0.8.0 vs lib/watir-webdriver/elements/checkbox.rb in watir-webdriver-0.9.0
- old
+ new
@@ -3,9 +3,10 @@
#
# Sets checkbox to the given value.
#
# @example
+ # checkbox = browser.checkbox(id: 'new_user_interests_cars')
# checkbox.set? #=> false
# checkbox.set
# checkbox.set? #=> true
# checkbox.set(false)
# checkbox.set? #=> false