WindowReference

public final class WindowReference
extends Object implements JSONAble

java.lang.Object
   ↳ androidx.test.espresso.web.model.WindowReference


A reference to a javascript window/frame 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 WindowReference 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 androidx.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