diff --git a/toolium/utils/driver_utils.py b/toolium/utils/driver_utils.py index 524679ea..698cbdeb 100644 --- a/toolium/utils/driver_utils.py +++ b/toolium/utils/driver_utils.py @@ -324,7 +324,7 @@ def get_native_coords(self, coords): self.logger.debug('Converted web coords %s into native coords %s', coords, native_coords) return native_coords - def swipe(self, element, x, y, duration=None): + def swipe(self, element, x, y, duration: int = 0): """Swipe over an element :param element: either a WebElement, PageElement or element locator as a tuple (locator_type, locator_value)