lib/webrat/selenium/selenium_session.rb in diabolo-webrat-0.4.4.1 vs lib/webrat/selenium/selenium_session.rb in diabolo-webrat-0.4.4.2
- old
+ new
@@ -39,10 +39,10 @@
end
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
webrat_deprecate :fills_in, :fill_in