Purpose
Discover all currently loaded Llano Commercial Realty property detail URLs for listings whose property type is Retail.
When to Use
Use when the caller needs retail listing URLs from the site's properties inventory, optionally to load individual listings afterward.
Workflow
- Navigate directly to the embedded Buildout inventory:
https://buildout.com/plugins/4ac67f3d21ba1955bfb17190aaa7bf314cd8892a/llanocommercialrealty.com/inventory?pluginId=0&iframe=true&embedded=true&cacheSearch=true - Wait for
select#q_type_use_offset_eq_anyand the inventory listing links to appear. - Set
select#q_type_use_offset_eq_anyto option value2(the Retail option), dispatch a bubblingchangeevent, and wait for the filtered results to refresh. - On the filtered inventory page, run this
evaluate()extractor:
(() => {
const links = [
...document.querySelectorAll(
'a[href*="llanocommercialrealty.com/properties?propertyId"]',
),
];
const urls = [...new Set(links.map((a) => new URL(a.href, location.href).href))];
return urls.map((url) => ({
url,
propertyId: new URL(url).searchParams.get("propertyId"),
}));
})();Each returned url is a public property detail URL of the form https://llanocommercialrealty.com/properties?propertyId={property-id}. For a faster subsequent snapshot, use its opaque {property-id} with the direct Buildout listing URL documented by the load-property-page-snapshot skill.
Site-Specific Gotchas
/propertiesis a wrapper around a cross-origin Buildout iframe; navigate directly to the embedded Buildout inventory to avoid iframe discovery.- The inventory's property-type control is
select#q_type_use_offset_eq_any; its Retail option currently has value2. Select it by value and dispatchchangerather than relying on visible text or a guessed query parameter. - Listing anchors expose the public wrapper URL containing the opaque
propertyId; extract the actual hrefs instead of inventing identifiers. - Deduplicate URLs because a listing can be linked from more than one card or element.
- The extractor reads only links present in the currently rendered filtered inventory. If the inventory gains pagination or lazy loading, process each rendered page or load additional results before running the extractor.
Expected Output
Return an array of objects with url, the public Llano Commercial Realty property detail URL, and propertyId, the opaque listing token parsed from its query string.