Initial version of the mediagoblin-selenium tool chain.
[mediagoblin-automation:mediagoblin-selenium.git] / scripts / seleniumCheck.py
1 #!/usr/bin/python
2
3 import sys
4
5 try:
6     import selenium
7 except ImportError:
8     sys.exit(1)
9 else:
10     if selenium.__version__ < 2:
11         sys.exit(2)
12     else:
13         sys.exit(0)