> @@ -0,0 +1,15 @@
> +require File.expand_path('watirspec/spec_helper', File.dirname(__FILE__))
> +
> +describe Watir::Input do
> +
> + before do
> + browser.goto WatirSpec.url_for("html5_input_types.html", :needs_server
> => true)
> + end
> +
> + describe "#type" do
> + it "returns an email type" do
> + t = browser.input(:name => "email").type
should have cleaned them up. would have liked to test date and number, but they
aren't implemented in firefox so watir correctly returns 'text' and there's
nothing to test. I'll clean up those other lines soon, thanks for feedback!
---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-webdriver/pull/218/files#r6110180
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development