[#257 state:resolved] fixed issue with rails encodd fields in webrat

This commit is contained in:
mike.gaffney 2009-06-02 17:35:29 -05:00
parent bd1655c8e2
commit f8f254d517
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ module Webrat
webrat_deprecate :visits, :visit
def fill_in(field_identifier, options)
locator = "webrat=#{Regexp.escape(field_identifier)}"
locator = "webrat=#{field_identifier}"
selenium.wait_for_element locator, :timeout_in_seconds => 5
selenium.type(locator, "#{options[:with]}")
end