Skip to content

Commit 4b7e292

Browse files
committed
Fix Retina screen detection in Ruby specs
1 parent 62ef296 commit 4b7e292

File tree

1 file changed

+1
-1
lines changed
  • rb/spec/integration/selenium/webdriver/spec_support

1 file changed

+1
-1
lines changed

rb/spec/integration/selenium/webdriver/spec_support/helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def png_size(path)
9898
width = png.unpack1('NN')
9999
height = png.unpack('NN').last
100100

101-
if Platform.macos? # Retina
101+
if Platform.mac? # Retina
102102
width /= 2
103103
height /= 2
104104
end

0 commit comments

Comments
 (0)