On Thu, Jun 28, 2012 at 9:46 AM, Alex Rudnitsky <[email protected]> wrote:
> I want to Watir to do a pause and when I press a special key - to make
Watir go ahead doing the next steps.

You can use ruby's #gets method:

http://www.ruby-doc.org/core-1.9.3/IO.html#method-i-gets

Example:

$ irb
1.9.3-p194 :001 > gets
(press enter/return)
 => "\n"
1.9.3-p194 :002 >

Željko
--
filipin.eu

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to