Python 拖放/移动到';t与硒配合使用(draggable=';false';)

Python 拖放/移动到';t与硒配合使用(draggable=';false';),python,selenium,selenium-webdriver,drag-and-drop,selenium-chromedriver,Python,Selenium,Selenium Webdriver,Drag And Drop,Selenium Chromedriver,我知道在StackOverflow上有很多这样的问题,但老实说,没有人对这个问题给出任何解释或帮助。我已经上网两天了,还没有找到任何解决办法。所以,在回答任何问题之前,请先阅读全部信息。谢谢 <tr class="table-header font14 draggable"> <th class="font-format-big" style="padding: 0.5em; text-align: center;"

我知道在StackOverflow上有很多这样的问题,但老实说,没有人对这个问题给出任何解释或帮助。我已经上网两天了,还没有找到任何解决办法。所以,在回答任何问题之前,请先阅读全部信息。谢谢

<tr class="table-header font14 draggable">
 <th class="font-format-big" style="padding: 0.5em; text-align: center;"><span>Example Text</span></th>
 <th class="font-format-big" style="padding: 0.5em; text-align: center;"><span style="min-width: 53px; display: inline-block;">Example Text</span></th>
 <th class="font-format-big" style="padding: 0.5em; text-align: left;" draggable="false"><span>Example Text</span></th>
 <th class="font-format-big" style="padding: 0.5em; text-align: left;" draggable="false"><span>Example Text</span></th>
 <th class="font-format-big" style="padding: 0.5em; text-align: left;" draggable="false"><span>Example Text</span></th>
 <th class="font-format-big" style="padding: 0.5em; text-align: left;" draggable="false"><span>Example Text</span></th>
 <th class="font-format-big" style="padding: 0.5em; text-align: left;" draggable="false"><span>Example Text</span></th>
 <th class="font-format-big" style="padding: 0.5em; text-align: left;" draggable="false"><span>Example Text</span></th>
 <th class="font-format-big" style="padding: 0.5em; text-align: left;" draggable="false"><span>Example Text</span></th>
</tr>
结果:它点击了来源[8],但仅此而已

source = driver.find_elements_by_tag_name('th')
ActionChains(driver).click_and_hold(source[8]).pause(2).move_to_element(source[0]).release(source[0]).perform()
platform_source = driver.find_element_by_xpath("//th[1]") *example xpath
platform_target = driver.find_element_by_xpath("//th[9]") *example xpath
time.sleep(1)

ActionChains(driver).drag_and_drop(platform_source, splatform_target).perform()
platform_source = driver.find_element_by_xpath("//th[1]") *example xpath
platform_target = driver.find_element_by_xpath("//th[9]") *example xpath
time.sleep(1)
ActionChains(driver).click_and_hold(platform_source) *to change it to draggable="true"

ActionChains(driver).drag_and_drop(platform_source, platform_target).perform()
结果:相同。它点击了源代码[8],但仅此而已

source = driver.find_elements_by_tag_name('th')
ActionChains(driver).click_and_hold(source[8]).pause(2).move_to_element(source[0]).release(source[0]).perform()
platform_source = driver.find_element_by_xpath("//th[1]") *example xpath
platform_target = driver.find_element_by_xpath("//th[9]") *example xpath
time.sleep(1)

ActionChains(driver).drag_and_drop(platform_source, splatform_target).perform()
platform_source = driver.find_element_by_xpath("//th[1]") *example xpath
platform_target = driver.find_element_by_xpath("//th[9]") *example xpath
time.sleep(1)
ActionChains(driver).click_and_hold(platform_source) *to change it to draggable="true"

ActionChains(driver).drag_and_drop(platform_source, platform_target).perform()
结果:结果相同。它点击了平台源代码,但仅此而已

source = driver.find_elements_by_tag_name('th')
ActionChains(driver).click_and_hold(source[8]).pause(2).move_to_element(source[0]).release(source[0]).perform()
platform_source = driver.find_element_by_xpath("//th[1]") *example xpath
platform_target = driver.find_element_by_xpath("//th[9]") *example xpath
time.sleep(1)

ActionChains(driver).drag_and_drop(platform_source, splatform_target).perform()
platform_source = driver.find_element_by_xpath("//th[1]") *example xpath
platform_target = driver.find_element_by_xpath("//th[9]") *example xpath
time.sleep(1)
ActionChains(driver).click_and_hold(platform_source) *to change it to draggable="true"

ActionChains(driver).drag_and_drop(platform_source, platform_target).perform()
结果:仍然没有结果

如果有人能指出哪里有问题,或者如果有不同的库我可以与Selenium一起使用来执行这些操作,我将非常感激。 谢谢