From 0b6d2fd4450e820bea5fa3fa300bc545d8d976b9 Mon Sep 17 00:00:00 2001 From: soulgalore Date: Tue, 5 May 2020 17:32:03 +0200 Subject: [PATCH] docs: type and screenshot fix --- docs/documentation/sitespeed.io/scripting/index.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/documentation/sitespeed.io/scripting/index.md b/docs/documentation/sitespeed.io/scripting/index.md index 83d9ce6b9..8d99995e7 100644 --- a/docs/documentation/sitespeed.io/scripting/index.md +++ b/docs/documentation/sitespeed.io/scripting/index.md @@ -878,9 +878,7 @@ Add the *text* to the element by using the attribute name. If the element is not Add the *text* to the element by using class name. If the element is not found the command will throw an error. ### Screenshot -Take a screenshot. The image will automaticalle be stored in the screenshot directory for the URL you are testing. This can be super helpful to use in a catch block if something fails. - -At the moment the screenshot is only saved to disk and there are no reference to it the result JSON file and we hope to fix that in the future. +Take a screenshot. The image will automatically be stored in the screenshot directory for the URL you are testing. This can be super helpful to use in a catch block if something fails. #### screenshot.take(name) Give your screenshot a name and it will be used together with the iteration index to store the image.