sir-chawakorn/power-ranger-toolkit/browser-automation

Claude Code and agent skill by sir-chawakorn/power-ranger-toolkit

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Automate browser interactions including form filling, clicking, typing, navigation, and screenshot capture. Use this skill when testing web apps, automating uploads, or validating UI on TikTok, YouTube, or other web platforms.

Install

npx vskill@latest install sir-chawakorn/power-ranger-toolkit/browser-automation

SKILL.md

🌐 Browser Automation Skill

Use Cases

  • TikTok video upload automation
  • Form auto-fill testing
  • UI validation with screenshots
  • Multi-step workflow automation

Workflow

1. Page Navigation
javascript
// Navigate and wait for load
await page.goto('https://example.com');
await page.waitForSelector('.target-element');
2. Element Interaction
javascript
// Click
await page.click('button[type="submit"]');
// Type with delay
await page.type('input[name="title"]', 'Video Title', { delay: 100 });
// Select dropdown
await page.select('select#category', 'entertainment');
3. File Upload
javascript
// Upload file
const input = await page.$('input[type="file"]');
await input.uploadFile('/path/to/video.mp4');
4. Wait Strategies
javascript
// Wait for network idle
await page.waitForNavigation({ waitUntil: 'networkidle0' });
// Wait for specific element
await page.waitForSelector('.success-message', { timeout: 30000 });
// Wait for text
await page.waitForFunction(() =>
document.body.textContent.includes('Upload complete')
);
5. Screenshot & Validation
javascript
// Full page screenshot
await page.screenshot({ path: 'result.png', fullPage: true });
// Element screenshot
const element = await page.$('.preview');
await element.screenshot({ path: 'preview.png' });

Decision Tree

Browser task?
├── Login required? → Use saved cookies/session
├── Upload file? → waitForSelector → uploadFile → waitForNavigation
├── Fill form? → Loop through fields with type()
├── Validate result? → Take screenshot + check text
└── Multi-step? → Break into sequential waits

Best Practices

✅ ทำ❌ ไม่ทำ
ใช้ waitForSelector ก่อน interactHardcode delays
Handle popup/modal casesAssume elements always exist
Take screenshots on errorIgnore timeout errors
Use retry logic for flaky elementsGive up after 1 try

TikTok-Specific Tips

  1. Video upload element: input[type="file"][accept="video/*"]
  2. Title field: div[contenteditable="true"]
  3. Post button: Look for specific button text/aria-label
  4. Wait for processing: Check for progress indicator

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
33
Repository forks
6
7-day trend score
18

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sir-chawakorn/power-ranger-toolkit/browser-automation/badge)](https://verified-skill.com/skills/sir-chawakorn/power-ranger-toolkit/browser-automation)

Something wrong with this skill or its page? Tell us.