nowk
2/9/2013 - 5:56 AM

Capybara fills in TinyMCE

Capybara fills in TinyMCE

def fill_in_tinymce(frame_id, options)
  page.execute_script(%{tinyMCE.editors['tinymce-#{frame_id}'].setContent('#{options[:with]}')})
end