ElementReference

public final class ElementReference
extends Object implements JSONAble

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


A reference to a javascript element existing within a WebView.

This reference is only a pointer to data held within the javascript context of a given WebView. It may no longer be valid the next time you attempt to use it. For instance the page could be navigated away from. There is not much you can use an ElementReference for in Java, it exists primarily to pass back to a WebView for further action.

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