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