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-selenium2libraryVerified import paths — ran on the pinned version, not inferred.
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.
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).
Transition your tests and installations to `robotframework-seleniumlibrary`. While `Selenium2Library` 3.0.0 provides compatibility, direct use of `SeleniumLibrary` is the path forward.
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.