From 90ca8070060fd031e31654590f69ca9d84e5ab9c Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Fri, 20 Dec 2024 09:03:08 +0100 Subject: [PATCH] Skip 14 pixel at the bottom of mobile tests. (#2225) https://github.com/sitespeedio/browsertime/issues/2224 --- visualmetrics/visualmetrics-portable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/visualmetrics/visualmetrics-portable.py b/visualmetrics/visualmetrics-portable.py index 1a5289eed6..306382211c 100755 --- a/visualmetrics/visualmetrics-portable.py +++ b/visualmetrics/visualmetrics-portable.py @@ -622,7 +622,7 @@ def find_image_viewport(file, is_mobile): # On mobile we need to ignore the top ~10 pixels because # there is a visible progress bar there on some browsers. viewport["y"] += 10 - viewport["height"] -= 10 + viewport["height"] -= 14 except Exception: viewport = None