Flask client¶
To use the flask driver, you need to install Flask, lxml and cssselect. You can install all of them in one step by running:
$ pip install splinter[flask]
Using Flask client¶
To use the flask driver, you’ll need to pass the string flask and an app instances via the app keyword argument when you create the Browser instance:
from splinter import Browser
browser = Browser('flask', app=app)
Note: if you don’t provide any driver to Browser function, firefox will be used.