一定位好要移动的图和目的位置,使用ActionChains(driver).drag_and_drop(s1,t1)将全部图移动到指定位置后,调用perfrom()方法,注意导入ActionChains
ActionChains(driver).drag_and_drop(s1, t1).\ drag_and_drop(s2,t2).\ drag_and_drop(s3,t3).\ drag_and_drop(s4,t4).perform()
二,三种等待时间方式
posted on 2018-09-22 09:17 千百年孤独 阅读(112) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3