make screenshots

This commit is contained in:
Ivan Vazhenin
2022-09-28 12:55:33 +03:00
parent 7c8a859f5e
commit 25a79ed807
3 changed files with 17 additions and 25 deletions
+4
View File
@@ -95,6 +95,10 @@ class TestCase(common.TestCase):
y = location["y"]
width = location["x"] + size['width']
height = location["y"] + size['height']
if width == 0:
width = 1920
if height == 0:
height = 1080
# (312, 691, 1112, 691)
return x, y, width, height