ElementReference

public final class ElementReference
extends Object implements JSONAble

java.lang.Object
   ↳ androidx.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

Public methods

equals

public boolean equals (Object other)

Parameters
other Object

Returns
boolean

hashCode

public int hashCode ()

Returns
int

toJSONString

public String toJSONString ()

Returns
String

toString

public String toString ()

Returns
String