From b9924cf2579af9b992afbe3aa5d91fe58f44eefa Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 23 Jul 2018 11:02:02 -0300 Subject: [PATCH] Bug 20757: Add pod for ->capture --- t/lib/Selenium.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/t/lib/Selenium.pm b/t/lib/Selenium.pm index 15b1c570f0..b5b1374485 100644 --- a/t/lib/Selenium.pm +++ b/t/lib/Selenium.pm @@ -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 -- 2.11.0