Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.0] add option to fullsize the browser #655

Merged
merged 2 commits into from
Jun 18, 2019

Conversation

browner12
Copy link
Contributor

this will calculate the size of the <body> and resize the browser to match it.

this can be especially helpful taking screenshots due to failures, because often times we cannot see all the content in the screenshot, making it difficult to debug. eventually it may be nice to have an option to automatically screenshot at fullsize, but we'll start with this PR.

this will calculate the size of the `<body>` and resize the browser to fit match it.
@taylorotwell taylorotwell merged commit a2c9a6b into laravel:5.0 Jun 18, 2019
@taylorotwell
Copy link
Member

Renamed to fitContent.

@browner12 browner12 deleted the fullsize branch June 18, 2019 13:50
browner12 added a commit to browner12/docs that referenced this pull request Dec 13, 2019
goes with laravel/dusk#655

going to start looking into being able to configure it to auto fit before taking screenshots of failures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants