141142143144145146147148
runner.shutdown(); } @Test public void saveScreenshot() { runner = new OperaInProcessRunner(); assertNotNull(runner.captureScreen()); }
147148149150151152153154155156157
assertNotNull(runner.captureScreen()); } @Test public void saveScreenshotAfterShutdownShouldThrow() { runner = new OperaInProcessRunner(); runner.shutdown(); try { runner.captureScreen(); fail("Expected OperaRunnerException");