Skip to main content
Gologin Web Access is a unified CLI that combines two Gologin products behind one command surface:
  • Web Unlocker — stateless read and extraction. Best when you want page content quickly without maintaining a browser session.
  • Cloud Browser — stateful interaction. Best when you need navigation, clicks, typing, screenshots, or multi-step flows that persist across commands.
Both modes share one config model and one credential setup. Recommended setup is to configure both credentials up front so agents do not stop to ask for missing keys mid-task.

Install

Requires Node.js >= 18.17.

Credentials

Two different Gologin credentials power the two modes:

Config file

Store credentials in ~/.gologin-web-access/config.json:
Initialize config interactively:

Quick start — read a page

Quick start — interact with a site


Command reference — scraping / read

These commands use Web Unlocker. They are stateless — no browser session is maintained.

Single page

Common options: --format text|markdown|html, --source auto|unlocker|browser, --fallback none|browser

Batch operations

Batch options: --format, --source, --only-main-content, --retry <n>, --backoff-ms <ms>, --summary, --output <path>, --strict By default batch-scrape returns exit 0 on partial success. Add --strict to fail on any error.

Search and discovery

Options: --limit <n>, --max-depth <n>, --concurrency <n>, --only-main-content

Async crawl jobs

Change tracking

Runbooks


Command reference — browser / interact

These commands use Cloud Browser. They maintain a stateful session through a local daemon.

Session management

Options: --profile <id> to use a specific Gologin profile.

Page reading

Interaction

Tabs

Cookies and storage

Advanced


Use cases and examples

Scrape a competitor’s pricing page

Returns title, description, headings, and links as structured JSON. If the page is behind a cookie wall or challenge, the outcome field tells you — and nextActionHint suggests switching to browser mode.

Build a research corpus from a docs site

Feed the output into an LLM for summarization, Q&A, or fine-tuning.

Monitor pages for changes

Run daily via cron. Compare diffs to detect pricing changes, new features, or removed content.

Extract structured data with a schema

Define what you want to extract:
Then extract:
Works across many pages with batch-extract.

Search the web and scrape results

Log into a site and interact

When scraping isn’t enough — you need to click, type, navigate:

Parse local documents

Not just web pages — parse PDFs, Word docs, Excel files:

Automate multi-step workflows with runbooks

Define a sequence of steps in JSON and replay them:

Source routing

Commands that support --source can route through different backends:

Structured output

scrape-json returns rich metadata including:
  • title, description, headings, headingsByLevel, links
  • Outcome classification: ok, empty, incomplete, authwall, challenge, blocked, cookie_wall
  • nextActionHint — suggested next step when the page is not fully accessible
search returns requestedLimit, returnedCount, warnings, cacheTtlMs, and per-result position.

npm package

gologin-web-access

Source code

GologinLabs/gologin-web-access