/Selenium2Library

Web testing library for Robot Framework

Primary LanguagePythonApache License 2.0Apache-2.0

Selenium 2 (WebDriver) library for Robot Framework

https://api.travis-ci.org/robotframework/Selenium2Library.png https://coveralls.io/repos/robotframework/Selenium2Library/badge.svg?branch=master&service=github Slack channel

Introduction

Selenium2Library is a web testing library for Robot Framework that leverages the Selenium 2 (WebDriver) libraries from the Selenium project.

It is modeled after (and forked from) the SeleniumLibrary library, but re-implemented to use Selenium 2 and WebDriver technologies.

Installation

The recommended installation method is using pip:

pip install robotframework-selenium2library

For more information about installation and please see INSTALL.rst.

Usage

To write tests with Robot Framework and Selenium2Library, Selenium2Library must be imported into your Robot test suite. See Robot Framework User Guide for more information.

Demo project

A demo project illustrating how to use this library can be found from: https://bitbucket.org/robotframework/webdemo

Please see the usage instructions from the demo project pages.

Getting Help

The user group for Robot Framework is the best place to get help. Consider including in the post:

  • Full description of what you are trying to do and expected outcome
  • Version number of Selenium2Library, Robot Framework, and Selenium
  • Version number of browser and the browser driver
  • Traceback or other debug output containing error information