Permalink
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (30 sloc) 1.12 KB

django client

.. module:: splinter.driver.djangoclient

To use the django driver, you need to install django, lxml and cssselect. You can install all of them in one step by running:

$ pip install splinter[django]

Using django client

To use the django driver, all you need to do is pass the string django when you create the Browser instance:

from splinter import Browser
browser = Browser('django')

Note: if you don't provide any driver to Browser function, firefox will be used.

API docs

.. autoclass:: DjangoClient
   :members:
   :inherited-members: