我在做自动测试,我想把左边的文档拖到图片右边的画布单元格中。不管我用什么命令,比如拖放,点击并按住。文档不会拖到画布单元格。在
drag_1 = gt("//button[@class='mat-icon-button']")
drag_a = gt("//div[@class='dynamic-container']")
action.drag_and_drop(drag_1, drag_a).perform()
这是我用来将drag_1
拖到drag_a
的代码,但它并不有效。在
Tags:
看看this answer
总结一下它说的话:
在Python中,这将转换为
^{pr2}$相关问题 更多 >
编程相关推荐