rf-seleniumlisted
Install: claude install-skill toaipa/robotframework-agentskills
# SeleniumLibrary Skill
Create browser automation tests using SeleniumLibrary with Selenium WebDriver.
## Quick Reference
SeleniumLibrary provides browser automation using Selenium WebDriver. Unlike Browser Library, explicit waits are often required for reliable test execution.
## Installation
```bash
pip install robotframework-seleniumlibrary
```
WebDriver binaries (chromedriver, geckodriver, etc.) must be in PATH. Selenium 4.6+ includes
Selenium Manager which handles driver downloads automatically, so `executable_path` and
`webdriver-manager` are often unnecessary with modern Selenium. For older versions:
```bash
pip install webdriver-manager
```
## Library Import
```robotframework
*** Settings ***
Library SeleniumLibrary timeout=10s implicit_wait=0s
```
### Import Options
| Option | Default | Description |
|--------|---------|-------------|
| timeout | 5s | Default timeout for wait keywords |
| implicit_wait | 0s | Implicit wait (0s is recommended; use explicit waits instead) |
| run_on_failure | Capture Page Screenshot | Keyword to run on failure |
| screenshot_root_directory | None | Directory for screenshots |
| plugins | None | Plugin modules to load |
## WebDriver Setup Options
### Chrome
```robotframework
# Basic
Open Browser ${URL} chrome
# Headless
Open Browser ${URL} headless_chrome
# With Options
Open Browser ${URL} chrome options=add_argument("--headless");add_argument("--no-sandbox")
# With WebDriver Manager
Open B