<pre> expect screen(:a_screen) puts capture.inspect # outputs anything captured from the above screen </pre> A nice to have would be if the following worked: <pre> expect { on(screen(:a_screen)) { puts capture.inspect # Outputs {} } } </pre>