I am using FireWatir to test a web app and I need to send CTRL + 1 to open up a connection to plugin text "LTN 123456" and send CTRL +2 to close the connection.
Asked
Active
Viewed 1,207 times
1 Answers
4
I would suggest that you forget firewatir gem and use watir-webdriver gem (it drives Firefox, Chrome and Internet Explorer). The API is probably 99% the same. It also has good send_keys implementation.

Željko Filipin
- 56,372
- 28
- 94
- 125
-
Do you know of any good tutorials or places to go where I can see what all can be done with watir-webdriver? – Curtis Miller May 02 '11 at 22:20
-
Have a look at this blog post about sending special keys in watir-webdriver http://watirmelon.com/2011/07/19/sending-special-keys-to-watir-webdriver/ – Alastair Montgomery Jul 19 '11 at 13:16