All skills
aktsmm avatar

/browser-max-automation

@2e6b12a
by yamapanaktsmm/agent-skills26 stars
4

Visible browser automation using Playwright MCP, CLI, and CDP without interrupting the user's foreground work. Use for navigation, forms, screenshots, durable file downloads, repeatable browser workflows, existing-session reuse, or troubleshooting CDP / iframe / modal / file chooser / passkey (WebAuthn) issues.

Use this Skill: https://skilld.dev/gh/aktsmm/agent-skills/browser-max-automation

This session only. Nothing lands on disk.

referencesinstructionsangular-material.md

≈363 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Angular Material Automation Notes

Use this for Angular Material forms using mat-select, mat-dialog, cdk-overlay, or reactive form validation.

mat-select

  • Do not use native input value setters for mat-select; they do not update Angular form state.
  • Click .mat-select-trigger, choose a visible [role="option"], then verify the form state.
  • For similar labels, prefer exact text match. Delivery and (ISD only) Delivery are easy to confuse with partial matching.
const options = [...document.querySelectorAll('[role="option"]')].filter(option => option.offsetParent);
const exact = options.find(option => option.innerText.trim() === 'Delivery');
if (exact) exact.click();

Overlays and Dialogs

  • cdk-global-overlay-wrapper can remain after selection and block later clicks. Send Escape or click the next trigger directly.
  • Scope all form queries to the active visible overlay/dialog. A broad document.querySelector('form') can grab an old dialog.
const overlays = [...document.querySelectorAll('.cdk-overlay-pane, mat-dialog-container')]
  .filter(dialog => dialog.offsetParent);
const activeForm = overlays[overlays.length - 1]?.querySelector('form');

Save Buttons

  • A button can be enabled while the form silently fails validation. Verify persisted state after clicking.
  • Before bulk page.evaluate actions, reset date/tab/filter selection and close leftover overlays.

Source: SKILL.md on GitHub

1 warning4mo4 checks · Risk SAFE
  • Gen Agent Trust Hub4mo

    This skill provides instructions and code for advanced browser automation using Playwright and Chrome DevTools Protocol (CDP). It includes patterns for handling complex web interfaces such as iframes, modals, and virtual scrolls. Security analysis identified a surface for indirect prompt injection common to browser automation tools, as the skill ingests and acts upon untrusted data from external websites.

  • Socket4mo

    No alerts

  • Snyk4mo

    Risk: MEDIUM · 1 issue

  • Runlayer6mo

    1/2 files flagged

Signed by skilld at 2e6b12a. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 18 hours ago.

Activeupdated 2 days ago
argument-hint
自動化したい URL、操作内容、使いたいモード
user-invocable
true
metadata
{
  "author": "yamapan (https://github.com/aktsmm)"
}

README badge

README badge for aktsmm/agent-skills/browser-max-automation