lib/page-object/accessors.rb in page-object-0.1 vs lib/page-object/accessors.rb in page-object-0.1.1
- old
+ new
@@ -72,11 +72,11 @@
# * :css => Watir and Selenium
# * :id => Watir and Selenium
# * :index => Watir and Selenium
# * :name => Watir and Selenium
# * :tag_name => Watir and Selenium
- # * :text => Watir only
+ # * :text => Watir and Selenium
# * :xpath => Watir and Selenium
# @param optional block to be invoked when element method is called
#
def hidden_field(name, identifier=nil, &block)
define_method(name) do
@@ -164,10 +164,10 @@
#
# @param [String] the name used for the generated methods
# @param [Hash] identifier how we find a link. You can use a multiple paramaters
# by combining of any of the following except xpath. The valid keys are:
# * :class => Watir and Selenium
- # * :href => Watir only
+ # * :href => Watir and Selenium
# * :id => Watir and Selenium
# * :index => Watir and Selenium
# * :link => Watir and Selenium
# * :link_text => Watir and Selenium
# * :name => Watir and Selenium