getDevicePixelRatio method

Class: EyesPlatform: Selenium 3Language: Java SDK:

Use this method to retrieve the screen pixel ratio.

Syntax


double value = eyes.getDevicePixelRatio();

Parameters

This method does not take any parameters.

Return value

Type: double