From b88b400d8d0a21389b2c8b76c57cf3ec3e474327 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Wed, 11 Apr 2018 10:58:01 +0100 Subject: [PATCH] doc: document capture_screen timestamp Updated documentation for capture_screen with the information about the optional timestamp format tag. --- doc/target.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/target.rst b/doc/target.rst index c8577ad..029aae8 100644 --- a/doc/target.rst +++ b/doc/target.rst @@ -441,7 +441,9 @@ Target .. method:: Target.capture_screen(filepath) Take a screenshot on the device and save it to the specified file on the - host. This may not be supported by the target. + host. This may not be supported by the target. You can optionally insert a + ``{ts}`` tag into the file name, in which case it will be substituted with + on-target timestamp of the screen shot in ISO8601 format. .. method:: Target.install(filepath[, timeout[, with_name]])