From 07bf6d2e9b65e1e6c352466d119eb5e50b00a217 Mon Sep 17 00:00:00 2001 From: Martin <42486612+kriiv@users.noreply.github.com> Date: Mon, 30 Jan 2023 21:25:50 +1100 Subject: [PATCH] Fix link to Puppeteer devices in creating-images.md Link to Puppeteer devices list is broken. Puppeteer repo structure has changes and removed Devices description that was previously linked. Updated link. --- docs/usage/creating-images.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage/creating-images.md b/docs/usage/creating-images.md index ba2d81e0..c1df292b 100644 --- a/docs/usage/creating-images.md +++ b/docs/usage/creating-images.md @@ -112,7 +112,7 @@ Browsershot::url('https://example.com') ## Device emulation -You can emulate a device view with the `device` method. The devices' names can be found [Here](https://github.com/puppeteer/puppeteer/blob/main/packages/puppeteer-core/src/common/Device.ts). +You can emulate a device view with the `device` method. The devices' names can be found [Here](https://github.com/puppeteer/puppeteer/blob/main/docs/api/puppeteer.knowndevices.md). ```php $browsershot = new Browsershot('https://example.com', true);