skillfed

robotframework-seleniumlibrary

Web testing library for Robot Framework

robotframework-seleniumlibrary v6.9.0 2.2M downloads/30d#3,242 on PyPI1,472
Permissive license Apache License 2.0 Active released

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-seleniumlibrary

uv

uv add robotframework-seleniumlibrary

poetry

poetry add robotframework-seleniumlibrary

Installing 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

Development Status :: 5 - Production/StableFramework :: Robot FrameworkFramework :: Robot Framework :: LibraryLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Testing

Tags

robot framework web testingselenium browser automationweb test automation libraryrobot framework selenium keywordsbrowser automation testingweb ui test automationselenium webdriver robot framework
web-automationrobot-frameworktest-automation

More Testing packages

pluggy

Pluggy provides a plugin system that lets you…

permissive · top 100 on PyPI

pytest

pytest is a testing framework that lets you…

permissive · top 100 on PyPI

virtualenv

virtualenv creates isolated Python environments…

permissive · top 100 on PyPI

coverage

Coverage.py measures which lines of Python code…

permissive · top 1,000 on PyPI

pytest-asyncio

pytest-asyncio is a pytest plugin that enables…

permissive · top 1,000 on PyPI

pytest-json-ctrf

A pytest plugin that generates test reports in…

permissive · top 1,000 on PyPI

robotframework

Robot Framework is a generic open-source…

permissive · top 5,000 on PyPI

robotframework-appiumlibrary

AppiumLibrary is a Robot Framework library that…

permissive · top 15,000 on PyPI

robotframework-csvlibrary

CSVLibrary is a Robot Framework library that…

permissive · top 15,000 on PyPI

robotframework-databaselibrary

A Robot Framework library that adds keywords…

permissive · top 15,000 on PyPI

robotframework-datadriver

DataDriver extends Robot Framework to generate…

permissive · top 15,000 on PyPI

robotframework-debuglibrary

Provides an interactive debug shell and library…

permissive · top 15,000 on PyPI

robotframework-dependencylibrary

Declares and enforces dependencies between…

permissive · top 15,000 on PyPI

robotframework-requests

RequestsLibrary wraps the Python Requests…

permissive · top 5,000 on PyPI

robotframework-selenium2library

A Robot Framework library that wraps Selenium…

permissive · top 15,000 on PyPI

robotframework-seleniumtestability

SeleniumTestability is a Robot Framework plugin…

permissive · top 15,000 on PyPI

Further reading