1c-web-test

1c-web-test is a skill for Claude Code from Desko77/claude-code-skills-1c. It costs 46 tokens per session (5,756 once invoked), scanned A, original, MIT.

A browser-automation tool for testing the 1C:Enterprise web client. It uses scripted actions to navigate screens, fill forms, read tables and reports, and apply filters.

In plain words
What is it for?
Use it for end-to-end tests of tasks such as opening sections, creating records, entering fields, and saving forms in a browser.
Why use it?
It lets you repeat realistic user workflows and check that the web interface behaves correctly without performing every step manually.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it for end-to-end tests of tasks such as opening sections, creating records, entering fields, and saving forms in a browser.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/desko77/claude-code-skills-1c/1c-web-test
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Desko77/claude-code-skills-1c --skill 1c-web-test
Clone the repo
git clone --depth 1 https://github.com/Desko77/claude-code-skills-1c

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 1c-web-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/desko77/claude-code-skills-1c/1c-web-test/github.svg)](https://agentmods.dev/skills/desko77/claude-code-skills-1c/1c-web-test)
Your own site
<a href="https://agentmods.dev/skills/desko77/claude-code-skills-1c/1c-web-test"><img src="https://agentmods.dev/badge/skills/desko77/claude-code-skills-1c/1c-web-test/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for 1c-web-test

Your own site · 80×15
<a href="https://agentmods.dev/skills/desko77/claude-code-skills-1c/1c-web-test"><img src="https://agentmods.dev/badge/skills/desko77/claude-code-skills-1c/1c-web-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,756 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.05756
Opus 5 $0.00023 $0.02878
Sonnet 5 $0.00009 $0.01151
Haiku 4.5 $0.00005 $0.00576

Measured 6d ago against content hash e51fa72b9343, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

1c-web-test scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/browser.mjs, scripts/dom.mjs, scripts/run.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/1c-web-test/SKILL.md · 532 lines

How it starts

The opening of the file, as written. The whole thing — 532 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/web-test - Browser automation for 1C web client

Automates user interactions with 1C:Enterprise web client via Playwright - navigating sections, filling forms, reading tables and reports, filtering lists.

Quick start

RUN="skills/1c-web-test/scripts/run.mjs"

# One-shot: opens browser → runs script → closes browser → exits
node $RUN run http://localhost:8081/bpdemo test-scenario.js

# Or pipe inline:
cat <<'SCRIPT' | node $RUN run http://localhost:8081/bpdemo -
await navigateSection('Продажи');
await openCommand('Заказы клиентов');
await clickElement('Создать');
await fillFields({ 'Клиент': 'Альфа' });
await clickElement('Провести и закрыть');
SCRIPT

Setup (first time)

cd skills/1c-web-test/scripts && npm install

Requires Node.js 18+. npm install downloads Playwright and Chromium.

URL resolution

Read .v8-project.json from project root. Each database has id and optional webUrl. Construct URL as http://localhost:8081/<id> or use webUrl if set. Use /web-publish first if the database is not published.

Execution modes

Autonomous mode (preferred for complete scenarios)

node $RUN run <url> script.js   # exits when done, no session

Interactive mode (step-by-step development)

# 1. Start session (run_in_background=true, prints JSON when ready)
node $RUN start <url>

# 2. Execute scripts against running session
cat <<'SCRIPT' | node $RUN exec -
const form = await getFormState();
console.log(JSON.stringify(form, null, 2));
SCRIPT

# 2b. Execute without video recording (for debugging/testing)
cat script.js | node $RUN exec - --no-record

# 3. Screenshot
node $RUN shot result.png

# 4. Stop (logout + close)
node $RUN stop

start runs an HTTP server in background. Use exec/shot/stop from other shells.

Writing exec scripts

All browser.mjs exports are globals - no import needed. console.log() output is captured in the JSON response. writeFileSync / readFileSync also available.

Read the full file on GitHub · 532 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 532 lines · 46 tokens per session scan A e51fa72b9343

Subscribe to this mod's changes

1c-web-test is a skill published in the GitHub repository Desko77/claude-code-skills-1c (60 stars, last pushed 7d ago), licensed MIT. It adds 46 tokens to every session and 5,756 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.