Web Browser
A conduit for communicating with a remote web browser, can be used to execute JavaScript and evaluate JavaScript expressions and retrieve the result.
Types
Properties
The absolute URL of the page, mapped to a io.mola.galimatias.URL for convenience.
During page render, the initial HTML document will be available for modification as a JSoup Document in this AtomicReference.
Allow us to catch outbound messages temporarily and only for this thread. This is used for immediate execution of event handlers, see Element.onImmediate
Functions
Calls a JavaScript function in the browser passing it the supplied parameters, which will be substituted into jsBody wherever a {}
is present.
Calls a JavaScript function that can return a value via a callback
Calls a JavaScript function that can return a value, note that to do this jsBody MUST end with a return
statement, eg:
Execute a block of code in which any JavaScript sent to the browser during the execution of the block will be stored and returned by this function.
Are outbound messages being cached for this thread (for example, because we're inside an immediateEvent callback block)?