fix typos

This commit is contained in:
a.krasnov
2019-09-22 21:29:35 +03:00
parent 5392fa46c2
commit 3b5714d6ef
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ class Element:
https://docs.python.org/3/howto/descriptor.html
:param instance: instance of owner
:param owner: type of owner
:return: self or WebElement instance
:return: self or CustomWebElement instance
"""
if isinstance(instance, Element):
return self

View File

@@ -58,7 +58,7 @@ class TestCase(common.TestCase):
y = location["y"]
width = location["x"] + size['width']
height = location["y"] + size['height']
return x * 2, y * 2, width * 2, height * 2
return x, y, width, height
def _get_element_screenshot(self, by, locator, action, finalize) \
-> Tuple[Image.Image, Tuple[int, int, int, int]]: