Skip to content

Commit

Permalink
[py]: fix flake8 violations in trunk (SeleniumHQ#10723)
Browse files Browse the repository at this point in the history
  • Loading branch information
symonk authored and elgatov committed Jun 27, 2022
1 parent 230468d commit 46e4bf0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions py/selenium/webdriver/common/actions/pointer_actions.py
Expand Up @@ -16,14 +16,12 @@
# under the License.
import warnings

from selenium.webdriver.remote.webelement import WebElement
from . import interaction

from .interaction import Interaction
from .mouse_button import MouseButton
from .pointer_input import PointerInput

from selenium.webdriver.remote.webelement import WebElement


class PointerActions(Interaction):

Expand Down Expand Up @@ -93,8 +91,8 @@ def move_by(self, x, y, width=None, height=None, pressure=None,
return self

def move_to_location(self, x, y, width=None, height=None, pressure=None,
tangential_pressure=None, tilt_x=None, tilt_y=None, twist=None,
altitude_angle=None, azimuth_angle=None):
tangential_pressure=None, tilt_x=None, tilt_y=None, twist=None,
altitude_angle=None, azimuth_angle=None):
self.source.create_pointer_move(origin='viewport', duration=self._duration, x=int(x), y=int(y),
width=width, height=height, pressure=pressure,
tangential_pressure=tangential_pressure,
Expand Down

0 comments on commit 46e4bf0

Please sign in to comment.