关于在python中如何利用拖拽功能去分别填满以下的drop

先贴上我自己错误的代码:
from time import sleep
import pytest
from selenium import webdriver
from selenium.webdriver import ActionChains
class TestActionChains():
def setup(self):
self.driver=webdriver.Chrome()
self.driver.implicitly_wait(3)
self.driver.maximize_window()
def test_dragdrop(self): #拖拽并释放
self.driver.get(‘Mootools Drag and Drop Example’)
drag_ele=_ele=self.driver.find_element_by_id(‘dragger’)
#drop_ele=self.driver.find_element_by_xpath(’/html/body/div[2]’)#单条
list_drop_eles=[self.driver.find_element_by_xpath(’[/html/body/div[2]]’)
,self.driver.find_element_by_xpath(’[/html/body/div[3]]’)
,self.driver.find_element_by_xpath(’[/html/body/div[4]]’)]
for ele in list_drop_eles:
action=ActionChains(self.driver)
action.click_and_hold(drag_ele).move_to_element(ele).release().perform()
sleep(3)
错误提示:


样本图:

Xpath表达式写的有问题,学习一下XP ath表达式

关闭