text Content Contains
abstract fun textContentContains(scope: CoroutineScope, xpath: String, textToContain: String): Deferred<Boolean>
异步检查由XPath指定的元素的聚合文本内容 (textContent) 是否包含期望的子字符串。
Return
一个 Deferred<Boolean>。
Parameters
scope
用于执行此操作的协程作用域。
xpath
目标元素的XPath。
text To Contain
期望包含的子字符串。