How to install and use selenium

Selenium is a suite of tools to automate web browsers across many platforms in which you can write your tests in your preferred language.Here the platform is fedroa16 and the preferred language is Pyhton.

fedroa follow this:

Step 1: Install the Selenium Server Package and Python Setup Tools

su -c 'yum install -y selenium-server python-setuptools'

Step 2: Install the Selenium Server Package

su -c 'easy_install selenium'

Step 3: Startup Selenium Server

selenium-server

Step 4: Create a Selenium Test

ubuntu follow this:

$ sudo apt-get install python-pip
$ sudo pip install selenium


你可能感兴趣的:(How to install and use selenium)