Simulang v0 only — not the latest Simulang. These examples apply only to Simulang v0 embedded in Simular Pro. They do not match the current standalone Simulang CLI,
simulang-js, or other newer Simulang surfaces; syntax and actions can differ. Use this page with the Simulang v0 API reference. For the latest scripting model, see the Simulang Primer and Simulang with Claude Code.- Read structured information
- Repeat a task on multiple objects
- Write structured output
- Locate an element precisely
Reading structured information
Many workflows start with extracting information from an application or webpage. Moreover, the extracted information often needs to be represented in a particular structure. For example:- A house on sale has the following fields: address, square footage, number of beds and baths, etc.
- An email has these fields: sender address, time sent, title, etc.
Community and communication applications: Extracting channel names on a desktop community app
Shopping: Get all store locations of a grocery chain
Social media URL scraping: Get a company’s social media URLs
News: Get all headlines from a news site
Investing: Get an investment firm’s list of portfolio companies
Email management: Get the sender, date, and summary of the first unread email.
Real estate: Get address, number of bedrooms and bathrooms, square footage, and price of homes in Palo Alto
Repeating a task on multiple objects on a page
Having successfully used Simular Pro to read structured information, such as getting- all the names of companies on a page, or
- all the store locations of a grocery chain, or
- all the influencer channel names, etc.
- checking each company’s stock prices,
- each grocery store’s items on sale
- each influencer’s subscriber count
Opening and reading all Simular blog posts
Structured information output
The sections above show you how Simular Pro can read structured information and repeats a task on 100 webpages - now you need it to write that valuable information somewhere. This section shows you many options to write structured output to a local file on disk or a web browser application. If you cannot find an output format you need, just ask us on Discord.Writing information into a Google Sheet
Writing information into Excel
Clicking on UI elements
Sometimes, the basicclick({at: <description of some element>}) may not be enough for Simular Pro to identify a unique element.
This may happen when more than one element share the same text description, or when the target element only has a visual label (e.g., image or icon).
In these cases, you have two options:
- In Settings, enable vision fallback for the click action. Simular Pro will automatically attempt to use the best method for UI localization.
- Use more precise inputs to the
clickfunction, as shown by examples below. You can find the full specification of inputs to theclickfunction here.
Clicking one of multiple elements that have the same description or image.
This pattern is a powerful and fast way to localize a target element whose textual description may not be unique:spatialRelation:
- distance: closest, furthest
- positional filters: left, right, above, below,
- containment filters: contains, containedIn
Clicking on an element without text description
If your target element is a pure image without any text description, then you should use the vision mode to localize the element:Clicking on an element using both text and screenshot
If neither specifying spatial relations nor pure vision work, you may need a combination of both to localize an element. The modetextAndScreenshot is able to localize any element that has a text description.

