Do not check @type against NON_TEXT_TYPES when returning the attribute value. Fixes a problem where 'email' was returned as 'text'. You can merge this Pull Request by running:
git pull https://github.com/bboyle/watir-webdriver html5-input-types Or you can view, comment on it, or merge it online at: https://github.com/watir/watir-webdriver/pull/218 -- Commit Summary -- * return type of input field (issue #217) -- File Changes -- M lib/watir-webdriver/elements/input.rb (11) A spec/html/html5_input_types.html (21) A spec/input_types_spec.rb (15) -- Patch Links -- https://github.com/watir/watir-webdriver/pull/218.patch https://github.com/watir/watir-webdriver/pull/218.diff
_______________________________________________ Wtr-development mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-development
