Introduction

Author William Mak

Selenate is a python wrapper around the Selenium Python Client Driver. It’s main goal is to simplify the management of selenium server, and as well provide easy to use functions.

Currently Selenate is in version 0.3 and has much of the preliminary ground work complete and should be sufficiently usable, but is still missing neccesary functionality.

Installing

pip install -U selenate

Example

from selenate import Selenate
browser = Selenate() # Start the selenium server, and launch firefox
browser.get("http://www.google.com") # Tell firefox to goto google.com
browser.type_to("#gbqfq", "selenate\n") # Locate the css locator, and type
browser.quit() # close the browser, and end the selenium server