diff --git a/dusk.md b/dusk.md index 83302eb8d0c..84405b767b8 100644 --- a/dusk.md +++ b/dusk.md @@ -553,6 +553,10 @@ The `responsiveScreenshots` method may be used to take a series of screenshots a $browser->responsiveScreenshots('filename'); +The `screenshotElement` method may be used to take a screenshot of a specific element on the page: + + $browser->screenshotElement('#selector', 'filename'); + ### Storing Console Output to Disk