Hello, Is it possible to make Watir wait until some special key is pressed?
I'm doing browser automation, and there are some moments that requires manual verification. I want to Watir to do a pause and when I press a special key - to make Watir go ahead doing the next steps. How to make it happen? Thank you. I tried: b = Watir::Browser.new :firefox b.goto 'http://google.com' t = b.text_field :id => 'gbqfq' t.set 'free love' if t.exists? browser.wait_until { b.send_keys :shift } b.close But it doesn't work :( It doesn't wait for a shift special key to be pressed. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com