Install
openclaw skills install selenium-automation-skillAutomate browser tasks using Selenium, including form filling, web scraping, UI testing, button clicks, alert handling, and capturing screenshots.
openclaw skills install selenium-automation-skillThis skill provides comprehensive browser automation capabilities using Selenium WebDriver.
Basic form filling example:
# Fill and submit a form
python scripts/form_filler.py --url https://example.com/login --username testuser --password testpass
Web scraping example:
# Extract data from a webpage
python scripts/web_scraper.py --url https://example.com/data --output results.csv
Before using this skill, install the required dependencies:
pip install selenium webdriver-manager beautifulsoup4 pandas
scripts/form_filler.py)Automatically fill forms and submit data:
python scripts/form_filler.py --url https://example.com/login --username testuser --password testpass
python scripts/form_filler.py --url https://example.com/contact --name "John Doe" --email "john@example.com" --message "Hello"
scripts/web_scraper.py)Extract data from web pages:
python scripts/web_scraper.py --url https://example.com/products --output products.csv
python scripts/web_scraper.py --url https://example.com/news --output news.json --format json
scripts/ui_tester.py)Perform UI testing and validation:
python scripts/ui_tester.py --url https://example.com --element "login-button" --action click
python scripts/ui_tester.py --url https://example.com --element "username" --action type --text "testuser"
See examples/ for comprehensive examples including:
The scripts support various browser configurations:
Comprehensive error handling for:
This skill can be combined with: