Install
openclaw skills install html-to-seleniumGeneral webpage element analysis and Selenium automation control script generation. Use cases: (1) Analyze HTML element structure of any webpage (2) Automatically identify form elements (input, button, dropdown, etc.) (3) Provide page source code to large model for intelligent analysis (4) Generate Selenium control scripts for any web application (5) Handle automation tasks like login, search, form submission Note: This skill should only be used for public webpages or pages you have authorization to access.
openclaw skills install html-to-seleniumThis skill analyzes HTML structure of any webpage, identifies interactive elements, and generates Selenium automation control code.
Dependencies Required: Install selenium package and matching WebDriver before running
pip install selenium
WebDriver (Edge/Chrome/Firefox) must match your browser version
Sensitive Data Risk:
Authorized Pages Only:
python scripts/fetch_page.py <URL> -o <output_file> -w <wait_seconds>
Send the downloaded HTML to LLM for element identification and analysis.
Write Selenium automation script based on analysis results.
LLM analysis should include:
这个Skill用于分析任意网页的HTML结构,识别可交互元素,并生成Selenium自动化控制代码。
依赖要求:运行前需安装 selenium 包和对应浏览器的 WebDriver
pip install selenium
WebDriver(Edge/Chrome/Firefox)需与浏览器版本匹配
敏感数据风险:
仅用于授权页面:
python scripts/fetch_page.py <URL> -o <输出文件> -w <等待秒数>
将下载的HTML源码发送给大模型进行元素识别和分析。
根据分析结果编写Selenium自动化脚本。
大模型分析后应输出: