text Content Equals
abstract fun textContentEquals(scope: CoroutineScope, xpath: String, expectedText: String): Deferred<Boolean>
异步检查由XPath指定的元素的聚合文本内容 (textContent) 是否完全等于期望的文本。
Return
一个 Deferred<Boolean>。
Parameters
scope
用于执行此操作的协程作用域。
xpath
目标元素的XPath。
expected Text
期望的完整文本。