dragAndDrop

abstract fun dragAndDrop(scope: CoroutineScope, sourceXpath: String, targetXpath: String): Deferred<Unit>

异步模拟将一个元素拖拽到另一个元素上。

Return

一个 Deferred<Unit>

Parameters

scope

用于执行此操作的协程作用域。

sourceXpath

源元素的XPath。

targetXpath

目标元素的XPath。