Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Web testing library for Robot Framework

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
demo
doc
src
test
.gitignore
.travis.yml
BUILD.rst
CHANGES.rst
COPYRIGHT.txt
INSTALL.rst
LICENSE.txt
MANIFEST.in
README
README.rst
SELENIUM_COPYRIGHT.txt
build_dist.py
selenium.bmp
setup.cfg
setup.py

README.rst

Selenium 2 (WebDriver) library for Robot Framework

https://api.travis-ci.org/rtomac/robotframework-selenium2library.png https://pypip.in/v/robotframework-selenium2library/badge.png

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.

  • More information about this library can be found on the Wiki and in the Keyword Documentation.
  • Installation information is found in the INSTALL.rst file.
  • Developer information is found in BUILD.rst file.

Installation

You can install Selenium2Library using pip, with the following command

pip install robotframework-selenium2library

Directory Layout

demo/
A simple demonstration, with an application running on localhost
doc/
Keyword documentation
src/
Python source code

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.

Running the Demo

The demo directory contains an easily executable demo for Robot Framework using Selenium2Library. To run the demo, run:

python demo/rundemo.py

E.g.:

python demo/rundemo.py demo/login_tests

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
  • Traceback or other debug output containing error information
Something went wrong with that request. Please try again.