Skip to content

docs: update pptr options example#14978

Merged
adamraine merged 1 commit intoGoogleChrome:mainfrom
benschwarz:patch-3
Apr 17, 2023
Merged

docs: update pptr options example#14978
adamraine merged 1 commit intoGoogleChrome:mainfrom
benschwarz:patch-3

Conversation

@benschwarz
Copy link
Contributor

In this PR:

  • Updates docs/puppeteer.md to remove usage of --enable-automation (pptr default)

Before this change, if someone ran the example, it would result in screenshots cropped to the browser window rather than the emulated viewport.

Related Issues/PRs

@benschwarz benschwarz requested a review from a team as a code owner April 15, 2023 12:21
@benschwarz benschwarz requested review from connorjclark and removed request for a team April 15, 2023 12:21
@adamraine adamraine changed the title 📚 Update pptr options example docs: update pptr options example Apr 17, 2023
@adamraine adamraine merged commit 7b0b481 into GoogleChrome:main Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants