Skip to content

Commit

Permalink
changelog & removed int cast
Browse files Browse the repository at this point in the history
  • Loading branch information
AlainMiranda committed Feb 29, 2024
1 parent f673ef9 commit 5716ddb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ v3.1.1
*Release date: In development*

- Upgrade Sphinx version from 4.* to 7.* to fix readthedocs theme format
- Fix on swipe method. Duration from None to 0.

v3.1.0
------
Expand Down
2 changes: 1 addition & 1 deletion toolium/utils/driver_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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: int = 0):
def swipe(self, element, x, y, duration=0):
"""Swipe over an element
:param element: either a WebElement, PageElement or element locator as a tuple (locator_type, locator_value)
Expand Down

0 comments on commit 5716ddb

Please sign in to comment.