Created
April 29, 2009 17:29
-
-
Save zilkey/103917 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When /^I type "([^\"]*)" into the "([^\"]*)" rich text editor$/ do |description, iframe_id| | |
selenium.select_frame "id=#{iframe_id}" | |
selenium.type_keys "css=body", description | |
selenium.select_frame "relative=top" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment