From d3d16982b7cc97ea10b2a176a908a6e66b9476ab Mon Sep 17 00:00:00 2001 From: Banana Date: Fri, 30 Nov 2012 13:41:31 +0100 Subject: [PATCH] show the link after creation of screenshot --- lib/Insipid/Main.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Insipid/Main.pm b/lib/Insipid/Main.pm index 78914a0..66fb6e7 100755 --- a/lib/Insipid/Main.pm +++ b/lib/Insipid/Main.pm @@ -434,6 +434,9 @@ FORM my $output = `$phantomjsPath --proxy=10.0.1.11:80 ./lib/screen.js $url $screnshotNameFile`; if($? == 0) { print '

Success !

'; + if(-e $screnshotNameFile) { + print "

Screenshot available: see it here.

"; + } } else { print "

Screenshot creation failed.

"; -- 2.39.5