Extract fund details table

Site infracapfunds.comTask extract-fund-details-tableVersion v1Updated Jul 31, 2026Category finance

Retrieve the labeled FUND DETAILS rows and values from an Infracap fund page. This skill was captured from a live agent session on infracapfunds.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

Extract the exact labels and corresponding values shown in a fund's table.table-small, including fund-specific wording for fields such as inception date and expense ratio.

When to Use

Use when the caller needs the displayed FUND DETAILS rows for a known fund ticker or URL slug, such as {fund-slug} = qvol.

Workflow

  1. Navigate directly to https://infracapfund.com/{fund-slug}; the fund-page slug is typically the lowercase ticker.
  2. In the same browser call, run this evaluator on the loaded page:
(() => {
  const clean = (value) => (value || "").replace(/\\s+/g, " ").trim();
  return Array.from(document.querySelectorAll("table.table-small tr"))
    .map((row) =>
      Array.from(row.querySelectorAll("th, td")).map((cell) =>
        clean(cell.textContent),
      ),
    )
    .filter((cells) => cells.length >= 2 && cells.some(Boolean))
    .map((cells) => ({
      label: cells[0],
      value: cells.slice(1).filter(Boolean).join(" "),
    }));
})();

Return the resulting array in displayed row order without normalizing or renaming labels.

Site-Specific Gotchas

  • Fund pages use the non-www, singular-host URL form https://infracapfund.com/{fund-slug}, while the fund directory observed in this run is https://www.infracapfunds.com/funds.
  • Use the table's first cell as the label and all remaining cells as the value; do not assume fixed labels or wording across funds.
  • The stable table selector is table.table-small; preserve the exact visible text because terminology can differ between funds.

Expected Output

An ordered JSON array of objects shaped as { "label": "...", "value": "..." }, containing every non-empty row from the fund's table.table-small.

Call it

GET https://production-sfo.browserless.io/skills?token=TOKEN-HERE&domain=infracapfunds.com&task=extract-fund-details-table