Registry / testing / robotframework-selenium2library

robotframework-selenium2library

JSON →
library3.0.0pypypiunverified

Robot Framework Selenium2Library is a web testing library for Robot Framework, leveraging Selenium WebDriver internally. As of version 3.0.0, this project serves as a transitional wrapper for the `robotframework-seleniumlibrary` and is the final release. New development and maintenance have fully shifted to `robotframework-seleniumlibrary`.

pip install robotframework-selenium2library
INSTALL
IMPORT
SIG · ROBOTFRAMEWORK-SEL
R
robotframework-selenium2library
testingpythonv3.0.0
Install
4.3s avg
Import
Disk
62MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.0.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.940 runs
installs and imports cleanly · install 0.0s · import 0.000s · 61.2MB
glibc
py 3.103.940 runs
installs and imports cleanly · install 4.3s · import 0.000s · 62MB
62MB installed
● package 62MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Selenium2Library
*** Settings *** Library Selenium2Library
from robotframework_selenium2library import Selenium2Library
Keywords are accessed directly within Robot Framework test cases after importing the library. Attempting a Python-style import will fail as this is a Robot Framework library, not a direct Python module for user import. Since version 3.0, it's recommended to use 'Library SeleniumLibrary' directly.

This Robot Framework example demonstrates a basic web test using `Selenium2Library` to open a browser, navigate to Google, perform a search, and verify the title. Note that from version 3.0, `Selenium2Library` transparently uses `SeleniumLibrary`'s keywords, so the keywords are the same.

*** Settings *** Library Selenium2Library *** Test Cases *** Example Google Search Open Browser https://www.google.com chrome Title Should Be Google Input Text name=q Robot Framework Selenium2Library Click Button name=btnK Title Should Contain Robot Framework Selenium2Library - Google Search Close Browser
Debug
Known issues
breakingAs of version 3.0.0, Selenium2Library has been renamed to SeleniumLibrary and this project is a thin wrapper. It's the last release, and users are strongly advised to migrate to `robotframework-seleniumlibrary` for future development.
fix
Update your `*** Settings ***` section from `Library    Selenium2Library` to `Library    SeleniumLibrary`. Ensure `robotframework-seleniumlibrary` is installed (installing `robotframework-selenium2library==3.0.0` will also install it).
affects: >=3.0.0
deprecatedThe `robotframework-selenium2library` project is no longer actively developed or maintained beyond version 3.0.0. All future enhancements, bug fixes, and compatibility updates will occur in `robotframework-seleniumlibrary`.
fix
Transition your tests and installations to `robotframework-seleniumlibrary`. While `Selenium2Library` 3.0.0 provides compatibility, direct use of `SeleniumLibrary` is the path forward.
affects: >=3.0.0
gotchaPrior to version 3.0.0, Selenium2Library had known compatibility issues with newer browser versions (e.g., Firefox 47.0), often requiring specific Selenium versions or browser driver configurations (like `geckodriver`). Version 3.0.0 and `SeleniumLibrary` generally have better compatibility with modern Selenium and browsers.
fix
Upgrade to `robotframework-selenium2library` 3.0.0 or, preferably, `robotframework-seleniumlibrary` to benefit from updated Selenium WebDriver support and broader browser compatibility. Ensure you have the correct browser drivers installed and in your system PATH.
affects: <3.0.0
Upgrade
Version history
3.0.0latest on PyPI · released Dec 4, 2017
Audit
Dependencies
robotframework-seleniumlibraryrequiredFrom version 3.0.0, Selenium2Library acts as a thin wrapper around SeleniumLibrary, inheriting all its keywords and functionality.
seleniumrequiredBoth Selenium2Library and SeleniumLibrary use Selenium WebDriver internally for browser automation.
robotframeworkrequiredThis is a library for the Robot Framework.
Agent activity
9 hits · last 30 days
node
8
Resources
robotframework-selenium2library — pip install robotframework-selenium2library · libregistry