Maybe it is this way for a reason, but I’m saving the log files, and they show the name of the previous macro that ran at the top and the bottom. In the logs [status] CA.js started… partial example - Status=Error: #!SkipAmount!# Buy quote dollars high: 2225.82 vs 2213.13 ### [status] CA.js started [echo] Start CompleteATrade.js Sat Oct 17 2026 10:49:21 GMT-0500 (Central Daylight Time) [echo] Combo Buy/14.586 [echo] Symbol YUM [echo] Action Buy [echo] Shares 14.586 [echo] Estimate 2213.13 [info] Executing: uiv.$ {“locator”:“css=input[placeholder=“Enter symbol”]”} [echo] Current estimated amount tradevalue: 2,225.82 [echo] Current estimated amount tradevalue2: 2225.82 [echo] Argument estimated amount: 2213.13 [echo] Resulting quote amount: 2225.82 [echo] FAIL/QUOTE/Buy Resulting quote amount is more or equal: 2225.82 [echo] FAIL/MAX/Buy Argument estimated amount is less: 2213.13 [info] Executing: uiv.$ {“locator”:“by={“kind”:“role”,“role”:“button”,“name”:“Clear”,“exact”:false}”} [info] Executing: uiv.page.click {“x”:750,“y”:616,“frameId”:0,“frameLocal”:false,“scope”:“browser”,“tag”:“button”,“elementId”:“bh24j1x0lp:22”,“elementSignature”:“[”",null,null,"Cle… [info] perf: 4 commands, avg 252ms each (tab 1, dispatch 4, wait-start 0, run 247) — first 242ms, slowest uiv.browser.type 335ms [error] CA.js failed: #!SkipAmount!# Buy quote dollars high: 2225.82 vs 2213.13 (line 90) (Runtime 4.14s)
Thanks for the detailed log, that made the bug easy to find.
The error text in the saved log is correct, but the macro name on the “started” line at the top and the “failed” line at the bottom is stale. When a macro is started from the command line, the extension loads it into the editor and starts the run at the same time. The log labeling took the name from the editor before the new macro had finished loading, so it still showed the previous macro. In your case the run was CompleteATrade.js, but the log said CA.js. The same happened for JS macros run inside a test suite.
This is fixed in the next release: command-line and test-suite runs now label the log with the macro that actually runs. Nothing changes for you otherwise, your macros and savelog setup stay as they are.
Thank you kindly, have a great day!!!
Monte