Claude Code · Playwright CLI · Python Internal · April 2026
Automation at Bajaj Finserv

Automation with AI.

The stack.

01 The agent

Claude Code

Reasons about the task. Writes the scripts. Controls the tools. Turns a one-off run into a repeatable process.

02 The browser

Playwright CLI

Opens real sites. Clicks, types, screenshots. Runs in headed mode when the site blocks headless.

03 The loop

Python

Scale and repeat. Once Claude learns the pattern, the script loops over hundreds of inputs.

Automation 01 · Search Keyword Audit.

Phase 01 · Manual one keyword · first run 1 keyword Claude Code + Playwright CLI via custom skill 1 screenshot Claude learns writes script Phase 02 · Automated ×269 more keywords 269 keywords Python script loops the same flow +269 screenshots 270 total screenshots Phase 03 · Analysis framework-based 270 screenshots Another AI reads vs. predefined framework Pattern finding

Automation 02 · NBFC AI Persona Testing.

User persona (.md) Master prompt (.md) THE ORCHESTRATOR Claude Code plays the user · loads both files · drives the AI 1 paste master prompt 2 attempt the task via Playwright CLI skill Target AI GPT · Gemini · Perplexity · others AI replies loops until task complete when done Transcripts saved

Automation 03 · AI-Native UI Generation.

User scenario the current financial moment Scenario breakdown attitude · principles · template · primitives needed MARKDOWN GRAMMAR Specification kit README.md · brand.md tokens.md · primitives.md composition.md · interaction.md + /terranova/ principles FIGMA VOCABULARY Component library Variables · Styles Components · Templates + naming convention THE ORCHESTRATOR AI agent reads kit · inspects library · composes UI Composed UI live to user

Challenges on the corporate laptop.

01
Breaks · installs

Network connection

The corporate network intercepts connections to public package registries. pip, npm, and CLI installers fail.

$ pip install anthropic
SSL: CERTIFICATE_VERIFY_FAILED
02
Breaks · the agent

Anthropic API

Claude Code loads, but every outbound request to the Anthropic API is blocked on the corporate network.

POST api.anthropic.com/v1/messages
BLOCKED
03
Breaks · automation

Accessibility

macOS accessibility is locked. Playwright can't drive the browser, tools can't record the screen.

> playwright.launch()
PERMISSION DENIED

What to unblock, what to use.

Unblock · IT
01
SSL
certificate bypass
02
Anthropic API
allowlist api.anthropic.com
03
Accessibility
grant the permission
Tools · cost per user / month
₹1,700 / mo per user
Claude Code
Pro plan
Free open source
Playwright CLI
Microsoft
Free open source
Python
PSF

Why not Copilot Studio.

Copilot Studio is built for

Enterprise agent workflows. Low-code authoring over Microsoft 365 data and business APIs.

Why not — for what we did
01 No CLI No shell to run Playwright commands from.
02 No Python Cannot execute a Python script to loop the flow.
03 No browser Doesn't open a real browser you can drive.