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

Skip to content

Commit ff11507

Browse files
committed
Corrects an error in drag and drop
Missing call to the perform function.
1 parent 897ad45 commit ff11507

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)