|
16 | 16 | # under the License.
|
17 | 17 | import warnings
|
18 | 18 |
|
| 19 | +from selenium.webdriver.remote.webelement import WebElement |
19 | 20 | from . import interaction
|
20 |
| - |
21 | 21 | from .interaction import Interaction
|
22 | 22 | from .mouse_button import MouseButton
|
23 | 23 | from .pointer_input import PointerInput
|
24 | 24 |
|
25 |
| -from selenium.webdriver.remote.webelement import WebElement |
26 |
| - |
27 | 25 |
|
28 | 26 | class PointerActions(Interaction):
|
29 | 27 |
|
@@ -93,8 +91,8 @@ def move_by(self, x, y, width=None, height=None, pressure=None,
|
93 | 91 | return self
|
94 | 92 |
|
95 | 93 | def move_to_location(self, x, y, width=None, height=None, pressure=None,
|
96 |
| - tangential_pressure=None, tilt_x=None, tilt_y=None, twist=None, |
97 |
| - altitude_angle=None, azimuth_angle=None): |
| 94 | + tangential_pressure=None, tilt_x=None, tilt_y=None, twist=None, |
| 95 | + altitude_angle=None, azimuth_angle=None): |
98 | 96 | self.source.create_pointer_move(origin='viewport', duration=self._duration, x=int(x), y=int(y),
|
99 | 97 | width=width, height=height, pressure=pressure,
|
100 | 98 | tangential_pressure=tangential_pressure,
|
|
0 commit comments