dysthayes

shoqai-automation

Automate browsing and article searching on shoqai.com with screenshot capture

dysthayes 0 Actualitzat fa 9 mesos
GitHub

Instal·la

npx skillscat add dysthayes/claude-code-skills

Instal·la des del registre de SkillsCat.

SKILL.md

Shoqai Automation

This skill automates web interactions on shoqai.com. It opens the website, clicks Explore, searches for articles by name, opens them, and captures screenshots at each step.

Usage

# Find and open Tesla article (default)
node automate-shoqai.js

# Find specific article
node automate-shoqai.js "Apple"
node automate-shoqai.js "Microsoft"

Installation

npm install
npx playwright install chromium
mkdir screenshots

Features

  • Automated browser navigation with Playwright
  • Handles links that open in new tabs
  • Automatic screenshot capture at each step
  • Configurable article search

Screenshots

Screenshots are saved to the screenshots/ folder:

  • 1-homepage.png - Homepage loaded
  • 2-after-explore-click.png - After clicking Explore
  • 3-article-opened.png - Article opened
  • 4-final.png - Final state

Requirements

  • Node.js (v14 or higher)
  • npm
  • Internet connection