From 61caf828059131371a2abbc7cc93603feb4222fe Mon Sep 17 00:00:00 2001 From: Alexander Andryashin Date: Thu, 26 Oct 2023 18:55:18 +0300 Subject: [PATCH] Fix empty userAgent in deviceset. --- moon2/templates/devices.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/moon2/templates/devices.yaml b/moon2/templates/devices.yaml index 7cfc9d5..4ab5196 100644 --- a/moon2/templates/devices.yaml +++ b/moon2/templates/devices.yaml @@ -364,17 +364,23 @@ spec: width: 950 height: 1280 pixelRatio: 1 - userAgent: '' + userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 + (KHTML, like Gecko) Chrome/%s Safari/537.36 + printVersion: true Laptop with HiDPI screen: width: 900 height: 1440 pixelRatio: 2 - userAgent: '' + userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 + (KHTML, like Gecko) Chrome/%s Safari/537.36 + printVersion: true Laptop with MDPI screen: width: 800 height: 1280 pixelRatio: 1 - userAgent: '' + userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 + (KHTML, like Gecko) Chrome/%s Safari/537.36 + printVersion: true LG Optimus L70: width: 384 height: 640