robotframework-selenium2library
Web testing library for Robot Framework
What it is and what it does
Selenium2Library is a Robot Framework library that provides keywords for automating web browser interactions via Selenium. Starting from version 3.0, it is a wrapper around SeleniumLibrary and contains the same functionality; it exists mainly to ease migration from the older Selenium2Library 1.8 architecture to the newer SeleniumLibrary codebase.
The package is now abandoned and has not been updated since 2020. The description explicitly recommends that existing users migrate to SeleniumLibrary directly, as Selenium2Library 3.0 is just a thin compatibility layer. For new projects, SeleniumLibrary should be used instead; this package is primarily useful only for maintaining legacy test suites that still reference Selenium2Library imports.
Use it for:
- Maintaining or running legacy Robot Framework test suites that were written against Selenium2Library before the migration to SeleniumLibrary.
- Temporary bridge during migration from Selenium2Library 1.8 to the newer SeleniumLibrary architecture.
- Automated web UI testing in Robot Framework when Selenium WebDriver integration is needed for browser control.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Robot Framework library that wraps Selenium for web browser automation and testing; as of version 3.0, it is a compatibility shim that delegates to SeleniumLibrary.
No, unless you are maintaining a legacy test suite that explicitly requires Selenium2Library. The package is abandoned (last update 2020-10-29) and is explicitly a migration shim; new projects should install SeleniumLibrary directly. For existing codebases, the description recommends migrating away from this package rather than continuing to use it.
Install
robotframework-selenium2library on PyPI
pip
pip install robotframework-selenium2libraryuv
uv add robotframework-selenium2librarypoetry
poetry add robotframework-selenium2libraryInstalling robotframework-selenium2library
Before you install
Low install friction, but the package is abandoned as of 2020-10-29 and exists primarily as a migration bridge. Version 3.0 is a thin wrapper around robotframework-seleniumlibrary; users should migrate to SeleniumLibrary directly rather than rely on this deprecated package.
License in practice
Licensed under Apache License 2.0 (permissive), so there are no restrictions on commercial or proprietary use, modification, or redistribution.
Quickstart
pip install robotframework-selenium2library
In a Robot Framework test file:
*** Settings ***
Library Selenium2Library
*** Test Cases ***
Open Browser https://example.com chrome
Requires Robot Framework and Selenium WebDriver to be installed; also requires a compatible web browser and corresponding WebDriver binary (e.g., chromedriver for Chrome).
Verify before relying
- Whether the package still works reliably with modern versions of Selenium and Robot Framework given its abandoned status since 2020.
- Compatibility with current Python versions beyond the stated support for Python 2.7 and 3.3+.
Package facts
| License | Apache License 2.0 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — robotframework-seleniumlibrary |
| Maintenance | abandoned — 3,175 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 372,323/month — #7,162 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: robotframework_selenium2library-3.0.0-py2.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
robotframework-extendedselenium2libraryA Robot Framework library for web browser…
agpl · top 15,000 on PyPI
robotframework-seleniumlibrarySeleniumLibrary is a Robot Framework library…
permissive · top 5,000 on PyPI
robotframework-debuglibraryProvides an interactive debug shell and library…
permissive · top 15,000 on PyPI
robotframework-seleniumtestabilitySeleniumTestability is a Robot Framework plugin…
permissive · top 15,000 on PyPI
robotframework-sshlibraryA Robot Framework test library for executing…
permissive · top 15,000 on PyPI
robotframework-appiumlibraryAppiumLibrary is a Robot Framework library that…
permissive · top 15,000 on PyPI
robotremoteserverHosts Robot Framework test libraries on…
permissive · top 15,000 on PyPI
robotframeworkRobot Framework is a generic open-source…
permissive · top 5,000 on PyPI
robotframework-csvlibraryCSVLibrary is a Robot Framework library that…
permissive · top 15,000 on PyPI
robotframework-browserBrowser automation library for Robot Framework…
permissive · top 5,000 on PyPI