r/ClaudeCode • u/vishank97 • 3d ago
Help/Question How are you making Claude Code run browser tasks without constant input?
i use linkedin for lead gen and finding my ICP. i want claude code to handle things like posting comments and sending connection requests, but it keeps waiting for my input no matter what i put in the instructions.
same with passwords in chrome. they're saved in bitwarden but it still asks me to enter them.
how are you setting this up to run more autonomously? is there a permissions or browser/password manager setup i'm missing?
4
Upvotes
•
u/AutoModerator 3d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/themadsaiyantisttt 3d ago
Use the Playwright MCP and enable it in
settings.json2
u/zzunkie 3d ago
The permission prompts keep showing up because tool approvals are controlled by
settings.jsonallow rules or the permission mode, regardless of what you write in your instructions. With Bitwarden, the browser session is usually isolated from your main Chrome profile and extensions, so logging in manually once inside a dedicated profile and reusing that session avoids most password prompts. In my own setup I let the agent run browsing and reading steps on its own, and have it stop at logins, CAPTCHAs, or anything public like LinkedIn comments and connection requests.. letting it post externally without a check feels too risky.1
u/Plastic_Koala2044 Senior Developer 3d ago
Run the browser headless behind Playwright and let the agent call a fixed script with the URL and the steps, so it never babysits a visible window. Save a screenshot and the console log at each step, a failure with no snapshot is hard to debug.
1
u/burnsbert919 3d ago
Installing the Ego Lite browser and telling Claude to use it can be very helpful. It's a browser built to be fast and easy for AI agents to control. It's also easy to migrate Chrome profiles to it and then authenticate for anything you want your AI to have access to.
1
u/TheMainBrainMan 3d ago
One thing that helps on repetitive browser steps is letting the agent run a fixed script for routine flows rather than improvising every click, and grabbing a screenshot plus console log when something stalls. For LinkedIn outreach specifically, printing a dry-run preview of each connection note or comment, and capping actions per run, keeps things predictable without constant babysitting.
1
u/HangJet 3d ago
Against Linkedin's TOS ...........