From 17793150a83f353a0c58f4207f2da77c39aef4ac Mon Sep 17 00:00:00 2001 From: Craig Anderson Date: Tue, 5 Oct 2021 12:20:21 -0400 Subject: [PATCH] Fix incorrect method reference in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 71f50feb..9217c500 100644 --- a/README.md +++ b/README.md @@ -480,7 +480,7 @@ Optionally you can give a custom unit to the `paperSize` as the third parameter. You can use the `format` method and provide a format size: ```php -Browsershot::html('https://example.com')->format('A4')->save('example.pdf'); +Browsershot::url('https://example.com')->format('A4')->save('example.pdf'); ``` The `format` options available by puppeteer are: