Skip to content

Commit

Permalink
add documentation on the fitContent method
Browse files Browse the repository at this point in the history
goes with laravel/dusk#655

going to start looking into being able to configure it to auto fit before taking screenshots of failures.
  • Loading branch information
browner12 authored Dec 13, 2019
1 parent 9e8c49b commit d6cd485
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dusk.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ The `maximize` method may be used to maximize the browser window:

$browser->maximize();

The `fitContent` method will resize the browser window to match the size of the content:

$browser->fitContent();

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

Expand Down

0 comments on commit d6cd485

Please sign in to comment.