Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19ed49c

Browse files
committed
Merge pull request baijum#43 from andreirtaylor/patch-1
Corrects an error in drag and drop
2 parents a826419 + ff11507 commit 19ed49c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/navigating.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ amount, or on to another element::
143143

144144
from selenium.webdriver import ActionChains
145145
action_chains = ActionChains(driver)
146-
action_chains.drag_and_drop(element, target)
147-
146+
action_chains.drag_and_drop(element, target).perform()
148147

149148
Moving between windows and frames
150149
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)