Changelog 2023.02

2023.02

Comment Blocks

Many users have requested a way to add comments in a script, so you can remind yourself what’s going on in the surrounding steps or just to improve readability. Comment blocks are just that.

Comment block step in the script editor

You can also put comments in a code block or eval block with the ordinary JavaScript comment syntax.

Other Improvements & Bug Fixes

  • Fixed a memory leak in the script editor that caused slowness when playing a large browser script with many screenshots.
  • Increased the internal limit for browser bot file uploads in a code block from 20mb to 60mb.
  • Fixed a broken admin toggle on the Team page.

Further Reading

As your Browser Bot and Protocol scripts grow beyond a handful of steps, keeping track of what each section does gets harder. Comment blocks give you a simple way to add notes directly in the script editor – things like “Log in as test user,” “Navigate to checkout,” or “This section tests the search filters”, etc.

Comments are especially useful when multiple people on a team are working with the same scripts, or when you come back to a script you wrote months ago and need to remember the logic behind it. For inline comments within code blocks, you can still use standard JavaScript comment syntax (// or /* */), but comment blocks work at the step level where they’re visible in the script outline.

« Loadster Changelog