Skip to content

Commit

Permalink
Update obsolete devices API
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwass-lr committed Oct 1, 2024
1 parent 172b713 commit 4a45fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/browser.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ const callChrome = async pup => {
}

if (request.options && request.options.device) {
const devices = puppet.devices;
const devices = puppet.KnownDevices;
const device = devices[request.options.device];
await page.emulate(device);
}
Expand Down

0 comments on commit 4a45fdc

Please sign in to comment.