Skip to content

Commit

Permalink
Devices url for puppeteer has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Skullbock authored and freekmurze committed Jan 24, 2023
1 parent 08b90f9 commit 7e720f8
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/src/common/DeviceDescriptors.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/packages/puppeteer-core/src/common/Device.ts).

```php
$browsershot = new Browsershot('https://example.com', true);
Expand Down

0 comments on commit 7e720f8

Please sign in to comment.