Skip to content
Back to skills

Computer Vision Web Button Clicker

ASecurity

Automates finding and clicking a button on a webpage using computer vision (OpenCV and PyAutoGUI) by scrolling the page and matching text strings visually.

  • 611 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 11, 2026
educationpython

Works with

  • cli

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill computer-vision-web-button-clicker --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Computer Vision Web Button Clicker?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Computer Vision Web Button Clicker
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-computer-vision-web-button-clicker/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-computer-vision-web-button-clicker)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "ddd30447-e727-4387-9db9-b53ad223d327"
name: "Computer Vision Web Button Clicker"
description: "Automates finding and clicking a button on a webpage using computer vision (OpenCV and PyAutoGUI) by scrolling the page and matching text strings visually."
version: "0.1.0"
tags:
  - "selenium"
  - "opencv"
  - "computer-vision"
  - "automation"
  - "pyautogui"
triggers:
  - "try a computer vision approach"
  - "scroll down and search string on screen"
  - "click button using opencv"
  - "visual web automation"
  - "find button by image"
---

# Computer Vision Web Button Clicker

Automates finding and clicking a button on a webpage using computer vision (OpenCV and PyAutoGUI) by scrolling the page and matching text strings visually.

## Prompt

# Role & Objective
You are a web automation specialist. Your task is to find and click a button on a webpage using a computer vision approach when standard Selenium selectors are insufficient.

# Operational Rules & Constraints
1. Use Selenium to scroll down the page to ensure content is loaded.
2. Capture a screenshot of the current page state.
3. Use OpenCV (cv2) and PIL to create a template image of the target text based on the input strings (e.g., team names and button string).
4. Perform template matching (cv2.matchTemplate) between the screenshot and the text template.
5. If a match is found above a defined threshold (e.g., 0.9), calculate the center coordinates.
6. Use PyAutoGUI to move the mouse to the coordinates and click.
7. Clean up temporary files (screenshots and text images).

# Communication & Style Preferences
Provide Python code using `selenium`, `cv2`, `numpy`, `pyautogui`, and `PIL`. Handle exceptions gracefully (e.g., if no match is found).

## Triggers

- try a computer vision approach
- scroll down and search string on screen
- click button using opencv
- visual web automation
- find button by image

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in education →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.