.. meta:: :description: . :keywords: python, django, selenium, webdriver WebDriver Plus ============== The most simple and powerful way to use Selenium with Python ------------------------------------------------------------ WebDriver Plus is an extension to the Python bindings for Selenium WebDriver, which gives you a more concise and expressive API. It helps you to quickly write readable, robust tests. What's so great about WebDriver Plus? * Browser instances that support pooling and automatic quit on exit. * A concise API for finding elements, and a wide range of selectors. * JQuery-style traversal and filtering for locating elements without using complex xpath expressions. * Perform actions directly on elements without having to use ActionChains. * Element highlighting makes working from the Python console a joy. * Supports headless mode using HtmlUnit, Xvfb or Xvnc. `Help contribute on GitHub `_. Getting started --------------- Install ``webdriverplus`` using ``pip``. .. code-block:: bash pip install webdriverplus Now fire up your Python console... .. code-block:: python >>> from webdriverplus import WebDriver >>> browser = WebDriver().get('http://www.google.com') Ok, let's do a search. .. code-block:: python >>> browser.find(name='q').send_keys('selenium\n') Now let's get the headings for all the search results. .. code-block:: python >>> browser.find(id='search').find('h3') WebElementSet(