Skip to content

Commit ea384de

Browse files
committed
Merge pull request #402 from zephraph/fix-#400
Fixed drag and drop by offset docs
2 parents 910b14d + f18cf88 commit ea384de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Selenium2Library/keywords/_element.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,11 +385,11 @@ def drag_and_drop(self, source, target):
385385
def drag_and_drop_by_offset(self, source, xoffset, yoffset):
386386
"""Drags element identified with `source` which is a locator.
387387
388-
Element will be moved by xoffset and yoffset. each of which is a
388+
Element will be moved by xoffset and yoffset, each of which is a
389389
negative or positive number specify the offset.
390390
391391
Examples:
392-
| Drag And Drop | myElem | 50 | -35 | # Move myElem 50px right and 35px down. |
392+
| Drag And Drop By Offset | myElem | 50 | -35 | # Move myElem 50px right and 35px down. |
393393
"""
394394
src_elem = self._element_find(source, True, True)
395395
ActionChains(self._current_browser()).drag_and_drop_by_offset(src_elem, xoffset, yoffset).perform()

0 commit comments

Comments
 (0)