robotframework-seleniumlibrary
Web testing library for Robot Framework
What it is and what it does
SeleniumLibrary bridges Robot Framework and Selenium, providing a set of keywords for automating web browser interactions in test scripts. It handles browser automation tasks like opening browsers, clicking elements, entering text, and validating page content—all expressed as Robot Framework keywords rather than Python code. The library works with Selenium 4 and supports Python 3.10 through 3.13, plus PyPy.
The library is designed for teams writing Robot Framework tests who need to automate web application testing. Rather than writing Python Selenium code directly, testers write Robot Framework test cases using high-level keywords provided by SeleniumLibrary, often layering domain-specific keywords on top. Browser drivers are automatically installed and managed by Selenium Manager, reducing setup friction. The library has been actively maintained since 2015 and is production-stable.
Use it for:
- Write Robot Framework test suites that automate login flows, form submissions, and page navigation in web applications.
- Build regression test suites for web UIs that run across multiple browsers and environments without rewriting test logic.
- Create acceptance tests that verify web application behavior in natural language, readable by non-technical stakeholders.
- Extend SeleniumLibrary with custom keywords for domain-specific testing workflows in your organization.
- Automate cross-browser testing by running the same Robot Framework tests against Chrome, Firefox, Safari, and Edge.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
SeleniumLibrary is a Robot Framework library that provides keywords for automating web browser interactions using Selenium, enabling test automation of web applications.
Yes. SeleniumLibrary is a mature, actively maintained library with low install friction and no known vulnerabilities. It is the standard way to integrate Selenium-based web automation into Robot Framework test suites. Install it if you are writing Robot Framework tests that need to automate web browser interactions; it is production-ready and widely used.
Install
robotframework-seleniumlibrary on PyPI
pip
pip install robotframework-seleniumlibraryuv
uv add robotframework-seleniumlibrarypoetry
poetry add robotframework-seleniumlibraryInstalling robotframework-seleniumlibrary
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with a recent release 89 days ago and 1472 GitHub stars. Requires Python 3.10 or later and depends on selenium, robotframework, robotframework-pythonlibcore, and click—all standard, well-maintained packages.
License in practice
Licensed under Apache License 2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and liability disclaimers.
Quickstart
pip install robotframework-seleniumlibrary
# In a Robot Framework test file:
*** Settings ***
Library SeleniumLibrary
*** Test Cases ***
Open Browser Example
Open Browser http://example.com Chrome
Title Should Be Example Domain
Close Browser
Requires Python 3.10 or later. Browser drivers are automatically managed by Selenium Manager, but a compatible browser (Chrome, Firefox, etc.) must be installed on the system.
Verify before relying
- Whether Selenium Manager's automatic driver management works reliably in all CI/CD environments without additional configuration.
- Performance characteristics when running large test suites with many concurrent browser instances.
Package facts
| License | Apache License 2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — selenium, robotframework, robotframework-pythonlibcore, click |
| Maintenance | actively maintained — 89 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,162,606/month — #3,242 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: robotframework_seleniumlibrary-6.9.0-py3-none-any.whl
Keywords: robotframework, testing, testautomation, selenium, webdriver, web
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
robotframeworkRobot Framework is a generic open-source…
permissive · top 5,000 on PyPI
robotframework-appiumlibraryAppiumLibrary is a Robot Framework library that…
permissive · top 15,000 on PyPI
robotframework-csvlibraryCSVLibrary is a Robot Framework library that…
permissive · top 15,000 on PyPI
robotframework-databaselibraryA Robot Framework library that adds keywords…
permissive · top 15,000 on PyPI
robotframework-datadriverDataDriver extends Robot Framework to generate…
permissive · top 15,000 on PyPI
robotframework-debuglibraryProvides an interactive debug shell and library…
permissive · top 15,000 on PyPI
robotframework-dependencylibraryDeclares and enforces dependencies between…
permissive · top 15,000 on PyPI
robotframework-requestsRequestsLibrary wraps the Python Requests…
permissive · top 5,000 on PyPI
robotframework-selenium2libraryA Robot Framework library that wraps Selenium…
permissive · top 15,000 on PyPI
robotframework-seleniumtestabilitySeleniumTestability is a Robot Framework plugin…
permissive · top 15,000 on PyPI