Bug 20757: Add pod for ->capture
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 23 Jul 2018 14:02:02 +0000 (11:02 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 23 Jul 2018 15:23:40 +0000 (15:23 +0000)
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/lib/Selenium.pm

index 15b1c57..b5b1374 100644 (file)
@@ -234,6 +234,12 @@ when we use automation test using Selenium
 
     Should always be called to avoid the "An element could not be located on the page" error
 
+=head2 capture
+    $c->capture
+
+Capture a screenshot and upload it using the excellent lut.im service provided by framasoft
+The url of the image will be printed on STDERR (it should be better to return it instead)
+
 =head1 AUTHORS
 
 Jonathan Druart <jonathan.druart@bugs.koha-community.org>