ElementReference

public final class ElementReference
extends Object implements JSONAble

java.lang.Object
   ↳ android.support.test.espresso.web.model.ElementReference


对WebView中存在的JavaScript元素的引用。

这个引用只是一个指向给定WebView的javascript上下文中的数据的指针。 下次尝试使用它时可能不再有效。 例如,页面可以远离导航。 在Java中没有太多的可以使用ElementReference,它主要存在于传回WebView以进一步操作。

Summary

Public methods

boolean equals(Object other)
int hashCode()
String toJSONString()
String toString()

Inherited methods

From class java.lang.Object
From interface android.support.test.espresso.web.model.JSONAble

Public methods

equals

boolean equals (Object other)

Parameters
other Object
Returns
boolean

hashCode

int hashCode ()

Returns
int

toJSONString

String toJSONString ()

Returns
String

toString

String toString ()

Returns
String