desc.ElementCaptureScreenshot.txt Maven / Gradle / Ivy
Takes a screenshot of an element and embeds it into the log.
The screenshot is saved into file screen_capture_%d_%d.png under the directory defined in {{selenium.screenshot.folder}} in {{jspringbot.properties}}.
*Example:*
| Element Capture Screenshot | css=#element |
| Element Capture Screenshot | css=#element | style=grayscale |