A Chromium-powered scraping endpoint running on a Raspberry Pi 5.
{
"url": "https://example.com", // required
"waitFor": "#some-element", // optional: CSS selector to wait for
"waitForTimeout": 2000, // optional: extra wait in ms after load
"timeout": 30000, // optional: total timeout ms (default 30s)
"returnType": "html" // optional: "html" | "text" | "both"
}
Returns {"status":"ok","browserConnected":true}.