Find Property Detail URLs

Site fourfrontrep.comTask find-property-detail-urlsVersion v1Updated Jul 28, 2026Category real-estate

Extract all individual property detail-page URLs from the FourFront property directory. This skill was captured from a live agent session on fourfrontrep.com and publishes here verbatim, exactly as an agent receives it.

NoteSelectors and URL schemes drift as sites change. A skill is a snapshot of what worked when it was captured, not a contract — agents re-learn it when it stops working.

Purpose

Collect the canonical URLs for individual property detail pages listed in the FourFront property directory.

When to Use

Use when the caller needs the set of property detail-page URLs currently exposed by https://www.fourfrontrep.com/properties.

Workflow

  1. Navigate directly to https://www.fourfrontrep.com/properties and allow the directory to finish rendering.
  2. Because listings may be lazy-rendered, scroll to the bottom of the page before extraction.
  3. Run this evaluator on the loaded directory page; it returns deduplicated detail URLs in one result:
(() => {
  window.scrollTo(0, document.body.scrollHeight);
  const base = location.origin;
  const urls = [
    ...new Set(
      [...document.querySelectorAll('a[href*="/properties/"]')]
        .map((a) => new URL(a.getAttribute("href"), base))
        .filter((u) => /^\/properties\/[^/]+\/?$/.test(u.pathname))
        .map((u) => `${u.origin}${u.pathname.replace(/\/$/, "")}`),
    ),
  ];
  return { propertyDetailUrls: urls };
})();

Site-Specific Gotchas

  • The directory uses property links under the /properties/{slug} path; exclude the directory root /properties itself.
  • A property may appear in multiple page elements, so deduplicate URLs.
  • Normalize relative links to absolute URLs and remove trailing slashes, query strings, and fragments for canonical output.
  • Scrolling to the bottom is useful before extraction if the directory defers rendering listing cards until they enter or approach the viewport.

Expected Output

An object of the form { "propertyDetailUrls": ["https://www.fourfrontrep.com/properties/{slug}", "..."] }, containing one canonical absolute URL per listed property.

Call it

GET https://production-sfo.browserless.io/skills?token=TOKEN-HERE&domain=fourfrontrep.com&task=find-property-detail-urls