Class: LynxTestingEnv
A pure-JavaScript implementation of the Lynx Spec, notably the Element PAPI and Dual-threaded Model for use with Node.js.
Example
Constructors
Constructor
new LynxTestingEnv(
env?:LynxEnv):LynxTestingEnv
Parameters
Returns
LynxTestingEnv
Properties
backgroundThread
backgroundThread:
LynxGlobalThis
The global object for the background thread.
Example
env
env:
LynxEnv
mainThread
mainThread:
LynxGlobalThis&ElementTreeGlobals
The global object for the main thread.
Example
Methods
clearGlobal()
clearGlobal():
void
Returns
void
injectGlobals()
injectGlobals():
void
Returns
void
reset()
reset():
void
Returns
void
switchToBackgroundThread()
switchToBackgroundThread():
void
Returns
void
switchToMainThread()
switchToMainThread():
void
Returns
void