Skip to content

Commit

Permalink
fix: Chrome doesn't change resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
route committed Sep 13, 2023
1 parent da18ec2 commit 23ae70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ferrum/page.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def resize(width: nil, height: nil, fullscreen: false)
command("Emulation.setDeviceMetricsOverride", slowmoable: true,
width: width,
height: height,
deviceScaleFactor: 0,
deviceScaleFactor: 1,
mobile: false,
fitWindow: false)
end
Expand Down

0 comments on commit 23ae70e

Please sign in to comment.