Skip to content

Commit

Permalink
Fix link to Puppeteer devices in creating-images.md
Browse files Browse the repository at this point in the history
Link to Puppeteer devices list is broken. Puppeteer repo structure has changes and removed Devices description that was previously linked.
Updated link.
  • Loading branch information
kriiv authored and freekmurze committed Jan 30, 2023
1 parent 804bd18 commit 3f48769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage/creating-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3f48769

Please sign in to comment.