Function 获取文案()
Dim startTime,endTime ,范围
startTime =TickCount()
范围 = jsdvip.FindNodeInfo("By.clazz('android.widget.TextView').res($('com.ss.android.ugc.aweme:id/[^\\s]*')).longClickable(true).focusable(true)","text")
If 范围 = false Then
范围 = ""
End If
endTime = TickCount()
TracePrint "耗时:"& CStr(endTime -startTime) &"毫秒"
获取文案 = 范围
End Function
发生运行时错误!错误代码:2,错误行号:0,错误信息: attempt to call field 'FindNodeInfo' (a null value)