isReadyForInput

abstract fun isReadyForInput(scope: CoroutineScope, xpath: String): Deferred<Boolean>

异步检查由XPath指定的输入框或文本域是否准备好接收输入。 条件:元素存在、可见、已启用且非只读。

Return

一个 Deferred<Boolean>

Parameters

scope

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

xpath

目标元素的XPath。