拼图_等待时间

一定位好要移动的图和目的位置,使用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()

二,三种等待时间方式

猜你喜欢

转载自www.cnblogs.com/jpwsk/p/9643823.html