How do you let an agent operate sites and apps with no API?
6 posts from 6 authors
Playbook
Practitioners bypass authentication hurdles and HTML parsing issues by using visual retrieval, manual session injection, or browser automation tools.
- Visual retrieval with screenshots
To avoid losing up to 40%+ of page content through HTML-to-text parsers, use a pipeline that renders documents into image tiles and employs vision-language models like LoRA fine-tuned Qwen3-VL-Embedding to build a FAISS index . 1
- Efficient page inspection
Instead of using a Playwright MCP page snapshot that can reach 32,732 characters, use browser_find to return only 410 characters . 2
- Manual session persistence
To handle 2FA or captchas that cause direct login attempts to work only 6 times out of 10, log in manually once and export/inject session cookies or save cookies and localStorage as JSON to the automation context [4, 5]. 45
- Task-specific tool splitting
Split workflows by delegating clicking, forms, and logged-in pages to BrowserOS neo, while using a web-search-plus plugin with a Serper or Tavily API key for research to avoid rate limits . 6
Choosing between approaches
Injecting human session cookies avoids brittle authentication flows but requires managing cookie expiration and secure storage because cookies function like passwords 5.
Not covered yet
The material does not specify which specific tools or models are best for interacting with highly dynamic or single-page applications (SPAs) without a DOM-based approach.
Posts
- Index page screenshots with vision models to avoid HTML parsing lossAkshay developed PixelRAG to replace text-based scraping with visual retrieval.

- Use browser_find: 410 characters instead of a 32,732-character Playwright MCP page snapshotFew Servers ran Playwright MCP 0.0.83 on its own machine and measured 25 tools, a first npx start of 6.2 seconds and 1.3 to 1.5 seconds afterwards, and memory of about 840 to 960 MB.

- Use Codex with Browser Use to build Vertica, an app that turns headlines into social carouselsUsing GPT-6 Astra's computer use with Codex, the author built Vertica, an app that turns a headline and key points into Instagram and LinkedIn carousels.

- Log in once by hand in Playwright Firefox and save cookies and localStorage as JSONFor sites without an API, the author installs Playwright Firefox in a separate venv, logs in manually once in headed mode, and has the script save cookies and localStorage as JSON, loading them on each later run.
- Inject human session cookies to skip agent login failuresPennyLawrence946 stopped their browser-automation agent from attempting logins, which previously failed due to 2FA and captchas.
- Use BrowserOS neo for clicking and forms, and a keyed search plugin for researchThe author splits tasks: clicking, forms and logged-in pages go to the open-source BrowserOS neo, while research-only queries use the web-search-plus plugin with a real key, which needs a Serper or Tavily API key; without one, the fallback of scraping pages gets rate limited.