We’re happy to share a redesigned JavaScript snippet editor! Designed to give you more visibility and control over the snippet editing process, the new snippet editor includes resizable panels, variables available in the current test, and a new console panel.
Resizable panels
If you’re working with long variable values, complex code, or detailed parameter configurations, you can now resize different sections of the snippet editor. Drag the border between any two sections to adjust their size. Expand the code editor window to work with longer snippets.
Variables panel
When editing a snippet in the mabl Trainer, a new Variables panel displays the names and resolved values of variables available in the current test. Hover over truncated names or values to see the full text in a tooltip.
Console panel
The snippet editor in the mabl Trainer now includes a Console panel, so you can print snippet output directly to the editor during development.