From f8f254d517c9d63a57559da6917f66210e6aa1ed Mon Sep 17 00:00:00 2001 From: "mike.gaffney" Date: Tue, 2 Jun 2009 17:35:29 -0500 Subject: [PATCH] [#257 state:resolved] fixed issue with rails encodd fields in webrat --- lib/webrat/selenium/selenium_session.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/webrat/selenium/selenium_session.rb b/lib/webrat/selenium/selenium_session.rb index 0130b5e..0fce80b 100644 --- a/lib/webrat/selenium/selenium_session.rb +++ b/lib/webrat/selenium/selenium_session.rb @@ -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