make screenshots
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user