I'm doing automated testing and I want to drag the left document '高级元素' to the canvas cell right in the picture. however what commands I use like drag_and_drop, click and hold. the document is never dragged to the canvas cell.
drag_1 = gt("//button[@class='mat-icon-button']")
drag_a = gt("//div[@class='dynamic-container']")
action.drag_and_drop(drag_1, drag_a).perform()
This is my code to drag drag_1
to drag_a
but it's not effective.