scrollIntoView

abstract fun scrollIntoView(scope: CoroutineScope, xpath: String): Deferred<Unit>

异步将指定的元素滚动到可视区域内。

Return

一个 Deferred<Unit>

Parameters

scope

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

xpath

目标元素的XPath。