Adjacent Files

Project Info

. > app > src > main > java > me > jfenn > pacomplaints > Complainter.java

getHtml

Type: public void

Get all HTML content inside the <body> element of the WebView, formatted as JSON

Parameter Name Description
callback called once the action is completed

getHtmlContent

Type: public void

Gets all HTML content inside an element, formatted as JSON

Parameter Name Description
id the id of the element
callback called once the action is completed

getHtmlContentByClassName

Type: public void

Gets all HTML content inside an element, formatted as JSON

Parameter Name Description
className the class name of the element
i the index of the elements with the className
callback called once the action is completed

setAttribute

Type: public void

Sets an attribute of an element in the WebView

Parameter Name Description
id the element to apply the attribute to
attribute the name of the attribute to change
value the value to change the attribute to

setAttributeByName

Type: public void

Sets an attribute of an element in the WebView

Parameter Name Description
name the element to apply the attribute to
index the index of the element in the page
attribute the name of the attribute to change
value the value to change the attribute to

setAttributeByTagName

Type: public void

Sets an attribute of an element in the WebView

Parameter Name Description
name the tag name of element to apply the attribute to
index the index of the element in the page
attribute the name of the attribute to change
value the value to change the attribute to

getAttribute

Type: public void

Gets an attribute of an element in the WebView, formatted as JSON

Parameter Name Description
id the id of the element
attribute the attribute to obtain
callback called once the action is completed

getAttributeByClassName

Type: public void

Gets an attribute of an element in the WebView, formatted as JSON

Parameter Name Description
name the class name of the element
index the index of the element in the page
attribute the attribute to obtain
callback called once the action is completed

callFunction

Type: public void

Calls a function inside the WebView

Parameter Name Description
function the function to call
callback called once the action is completed

callFunction

Type: public void

Calls a function of an element inside the WebView

Parameter Name Description
id the id of the element
function the function to call
callback called once the action is completed

callFunctionByName

Type: public void

Calls a function of an element inside the WebView

Parameter Name Description
name the name of the element
index the index of the elements with the name
function the function to call
callback called once the action is completed

callFunctionByClassName

Type: public void

Calls a function of an element inside the WebView

Parameter Name Description
name the class name of the element
index the index of the elements with the name
function the function to call
callback called once the action is completed
This site may do shady things with cookies and stuff because it's evil. Please don't read my privacy policy. close