Find Portfolio Property Detail URLs

Site fairbourne.comTask find-portfolio-property-urlsVersion v1Updated Jul 28, 2026Category research

Extract property detail page URLs from the Fairbourne portfolio gallery. This skill was captured from a live agent session on fairbourne.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

Find all property detail page URLs represented in Fairbourne's portfolio section.

When to Use

Use when the caller needs the Fairbourne portfolio's property-page links, optionally with the visible property names.

Workflow

  1. Navigate directly to https://www.fairbourne.com/.
  2. In one page evaluation after the portfolio gallery has rendered, run this extractor:
(() => {
  const origin = location.origin;
  const seen = new Set();
  return [...document.querySelectorAll(".wixui-gallery__item a[href]")]
    .map((a) => ({
      title: a.innerText.trim().replace(/\s+/g, " "),
      url: new URL(a.getAttribute("href"), origin).href,
    }))
    .filter(
      (x) =>
        x.url.startsWith(origin + "/") &&
        x.url !== origin + "/" &&
        !seen.has(x.url) &&
        seen.add(x.url),
    );
})();

Return the resulting array of {title, url} objects; the url values are the property detail page URLs.

Site-Specific Gotchas

  • Fairbourne's portfolio is rendered as a Wix gallery; the durable gallery-item selector is .wixui-gallery__item a.
  • The gallery may render asynchronously. Run the evaluation after the page's gallery content is present; do not assume the initial HTML snapshot contains every item.
  • Resolve relative links against location.origin and deduplicate URLs because gallery markup can contain repeated anchors.
  • This recipe intentionally scopes extraction to portfolio gallery items rather than collecting unrelated navigation links.

Expected Output

An array of unique objects of the form { "title": "<property name>", "url": "https://www.fairbourne.com/<property-path>" }.

Call it

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