The browser module adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol to k6.
GNU Affero General Public License v3.0
342
stars
42
forks
source link
`deviceScaleFactor` option in `newContext` on `Browser` class isn't affecting the images #433
Open
ankur22 opened 2 years ago
Tested against: dbede120c63df43995813a847a25b0e66e289592
The result of
deviceScaleFactor
of1
should result in a blurry image as shown here:[PW
deviceScaleFactor
set to1
]And when it is set to
2
, then it should look like this:[PW
deviceScaleFactor
set to2
]In
xk6-browser
the result ofdeviceScaleFactor
is always the same regardless of the value set (the blurry image).