Skip to content

Commit

Permalink
Replace emulateMedia call with emulateMediaType (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
edcoreweb committed Jul 21, 2020
1 parent 7d526a4 commit 7763806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/browser.js
Expand Up @@ -134,7 +134,7 @@ const callChrome = async () => {
}

if (request.options && request.options.emulateMedia) {
await page.emulateMedia(request.options.emulateMedia);
await page.emulateMediaType(request.options.emulateMedia);
}

if (request.options && request.options.viewport) {
Expand Down

0 comments on commit 7763806

Please sign in to comment.