Created
August 6, 2012 07:44
-
-
Save firesofmay/3271980 to your computer and use it in GitHub Desktop.
Code to select iFrame and input text inside of it.
This file contains 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
(switch-to-frame 0) | |
(switch-to-active) | |
(send-keys "body" "Thanks to noidi_ :)") | |
(switch-to-default) ;This is switch back from iframe. | |
(click (find-element {:tag :button :type :submit})) ;to submit :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment