标签: javascript protractor
我试过这个,它选择一个元素,但不移动或删除一个元素:
browser.driver.actions() // source location .mouseMove(drg,{x:0,y:150}) .mouseDown() .mouseMove(drg,{x:0,y:0}) // destination location .mouseMove(drp,{x:55,y:0}) .mouseUp() .perform(); browser.driver.sleep(10000);