diff --git a/dusk.md b/dusk.md index 23abc55cfbe..1e714b72dec 100644 --- a/dusk.md +++ b/dusk.md @@ -252,6 +252,10 @@ The `fitContent` method will resize the browser window to match the size of the $browser->fitContent(); +When a test fails, Dusk will automatically resize the browser to fit the content prior to taking a screenshot. You may disable this feature by calling the `disableFitOnFailure` method within your test: + + $browser->disableFitOnFailure(); + ### Browser Macros