Skip to main content

login-to-app

Log into the IceHRM app using agent-browser by navigating to the login page and entering credentials

跳到安装

来源信息

仓库
gamonoid/icehrm
最近来源活动
2026年8月2日 09:53
检测到的 SKILL.md 语言
英语
星标
728
分支
428

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
login-to-app
description
Log into the IceHRM app using agent-browser by navigating to the login page and entering credentials
Use `agent-browser` to log into the IceHRM application. First, check that `agent-browser` is available by running `which agent-browser`. If it's not installed, ask the user to install it: ``` npm install -g agent-browser && agent-browser install ``` Once available, run the following steps using `agent-browser` CLI commands: 1. **Close any existing session and navigate to the login page:** ```bash agent-browser close --all && agent-browser open "http://localhost:9080/app/" ``` 2. **Take a snapshot to identify form elements:** ```bash agent-browser snapshot -i ``` 3. **Fill in credentials and submit** using the refs from the snapshot: ```bash agent-browser fill <username-ref> "admin" && agent-browser fill <password-ref> "Admin123$" && agent-browser click <login-button-ref> ``` Replace `<username-ref>`, `<password-ref>`, and `<login-button-ref>` with the actual `@eN` refs from the snapshot output. 4. **Verify login success:** ```bash agent-browser screenshot ``` Check the screenshot to confirm the dashboard has loaded. If any step fails, take a screenshot (`agent-browser screenshot`) to diagnose the issue and report back what went wrong.
在 GitHub 查看