Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dusk.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();

<a name="browser-macros"></a>
### Browser Macros

Expand Down