jsdom¶
Capabilities¶
--browser | $/jsdom.js |
|---|---|
| Module | jsdom |
| Screenshots | ❌ |
| Scripts | ✔️ |
| Traces | multiplex 1️⃣ |
Options¶
Implementation notes¶
-
⛔ This browser instantiation command is provided to demonstrate a different kind of integration. Yet, for performance and compatibility reasons (see below), it is not recommended to use it.
-
⚠️ Despite being actively maintained, the
jsdomproject suffers from different implementation problems.ui5-test-runnerimplements a compatibility layer to compensate some of them (the ones that are detected during compatibility tests). It happens that UI5 and / orjsdomchanges break this layer. -
jsdomdoes not renders HTML pages, it cannot take screenshots -
Because no rendering is done, the
visibleOPA5 matcher is overridden to 'simulate' visibility testing. This may generate invalid results during OPA tests. -
1️⃣ Because
jsdomsimulates HTML rendering inside Node.js, any exception immediately interrupts the process. This makes the usual console and network CSV writers unreliable. Instead, all the traces are sent through the standard output and the resultstdout.txtis a mix of text and JSON output.