@@ -24,16 +24,16 @@ def scroll(self, origin_el, destination_el, duration=None):
2424 """Scrolls from one element to another
2525
2626 Args:
27- originalEl (`WebElement`): the element from which to being scrolling
28- destinationEl (`WebElement`): the element to scroll to
27+ originalEl (`appium.webdriver.webelement. WebElement`): the element from which to being scrolling
28+ destinationEl (`appium.webdriver.webelement. WebElement`): the element to scroll to
2929 duration (int): a duration after pressing originalEl and move the element to destinationEl.
3030 Default is 600 ms for W3C spec. Zero for MJSONWP.
3131
3232 Usage:
3333 driver.scroll(el1, el2)
3434
3535 Returns:
36- `WebElement`
36+ `appium.webdriver.webelement. WebElement`
3737 """
3838
3939 # XCUITest x W3C spec has no duration by default in server side
@@ -51,11 +51,11 @@ def drag_and_drop(self, origin_el, destination_el):
5151 """Drag the origin element to the destination element
5252
5353 Args:
54- originEl (`WebElement`): the element to drag
55- destinationEl (`WebElement`): the element to drag to
54+ originEl (`appium.webdriver.webelement. WebElement`): the element to drag
55+ destinationEl (`appium.webdriver.webelement. WebElement`): the element to drag to
5656
5757 Returns:
58- `WebElement`
58+ `appium.webdriver.webelement. WebElement`
5959 """
6060 action = TouchAction (self )
6161 action .long_press (origin_el ).move_to (destination_el ).release ().perform ()
@@ -74,7 +74,7 @@ def tap(self, positions, duration=None):
7474 driver.tap([(100, 20), (100, 60), (100, 100)], 500)
7575
7676 Returns:
77- `WebElement`
77+ `appium.webdriver.webelement. WebElement`
7878 """
7979 if len (positions ) == 1 :
8080 action = TouchAction (self )
@@ -114,7 +114,7 @@ def swipe(self, start_x, start_y, end_x, end_y, duration=None):
114114 driver.swipe(100, 100, 100, 400)
115115
116116 Returns:
117- `WebElement`
117+ `appium.webdriver.webelement. WebElement`
118118 """
119119 # `swipe` is something like press-wait-move_to-release, which the server
120120 # will translate into the correct action
@@ -140,7 +140,7 @@ def flick(self, start_x, start_y, end_x, end_y):
140140 driver.flick(100, 100, 100, 400)
141141
142142 Returns:
143- `WebElement`
143+ `appium.webdriver.webelement. WebElement`
144144 """
145145 action = TouchAction (self )
146146 action \
0 commit comments