getDevicePixelRatio method

Class: EyesPlatform: WebdriverIO 5Language: JavaScript SDK:

Use this method to retrieve the screen pixel ratio.

Syntax


let value = eyes.getDevicePixelRatio();

Parameters

This method does not take any parameters.

Return value

Type: number