1、鼠标右击

ActionChains(driver).contest_click(right_click).perform()

2、鼠标悬停

ActionChains(driver).move_to_element(above).perform()

3、鼠标双击

ActionChains(driver).double_click(double_click).perform()

4、鼠标拖放操作

drag_and_drop(source,target)

source:鼠标拖动的源元素

target:鼠标释放的目标元素

 

相关文章:

  • 2022-12-23
  • 2021-11-06
  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-04
  • 2021-09-07
  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
  • 2021-08-28
相关资源
相似解决方案