Skip to content

Commit

Permalink
Merge pull request #891 from alexwass-lr/fix-obsolete-devices-api
Browse files Browse the repository at this point in the history
Update obsolete devices API
  • Loading branch information
AlexVanderbist authored Nov 25, 2024
2 parents 09d1a07 + 4a45fdc commit fb31c94
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 @@ -248,7 +248,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 fb31c94

Please sign in to comment.