SeleniumLibrary is a web testing library for Robot Framework that utilizes the popular Selenium tool internally. See the keyword documentation for available keywords and wiki for some more general information about the library.
SeleniumLibrary is based on the old SeleniumLibrary that was forked to Selenium2Library and then later renamed back to SeleniumLibrary.
The new SeleniumLibrary is currently in pre-release phase. The final SeleniumLibrary 3.0 release is planned for early September.
The Selenium2Library 1.8.0 keyword documentation is also available
The recommended installation method is using pip:
pip install --pre robotframework-seleniumlibrary
Notice that --pre
is needed to get the current SeleniumLibrary, not the old SeleniumLibrary, until the final SeleniumLibrary 3.0 is released.
To install the old Selenium2Library, use this command instead:
pip install robotframework-selenium2library
See INSTALL.rst for more details about installation.
To write tests with Robot Framework and SeleniumLibrary, SeleniumLibrary must be imported into your Robot test suite. See Robot Framework User Guide for more information.
A demo project illustrating how to use this library can be found from: https://bitbucket.org/robotframework/webdemo
Best places to ask for support:
- robotframework-users mailing list
#seleniumlibrary
channel on Robot Framework Slack
When asking for help or reporting problems, please include the following information:
- Full description of what you are trying to do and expected outcome
- Version number of SeleniumLibrary, Selenium, and Robot Framework
- Version number of the browser and the browser driver
- Traceback or other debug output containing error information