fixed examples

This commit is contained in:
Corey Goldberg 2012-11-08 12:12:21 -05:00
parent e50024faed
commit db9e56d283
1 changed files with 8 additions and 5 deletions

View File

@ -25,12 +25,15 @@ Python wrapper for running display inside X virtual framebuffer (Xvfb)
vdisplay.stop() vdisplay.stop()
**************************************************** *****************************************************
Example use with Selenium WebDriver and Firefox: Example: Headless Selenium WebDriver and Firefox:
**************************************************** *****************************************************
* Firefox will launch inside virtual display (headless)
* browser is not shown while test is run
::
Firefox will launch inside virtual display, where test is run::
from xvfbwrapper import Xvfb from xvfbwrapper import Xvfb
import unittest import unittest