Sign in
apache
/
cloudstack
/
refs/heads/ui-primary-storage-target
/
.
/
test
/
selenium
/
lib
/
initialize.py
blob: 6da7166e9ac518169b48b2732b2fc453cb0426a7 [
file
] [
log
] [
blame
]
'''
This will help pass webdriver (Browser instance) across our test cases.
'''
from
selenium
import
webdriver
DRIVER
=
None
def
getOrCreateWebdriver
():
global
DRIVER
DRIVER
=
DRIVER
or
webdriver
.
Firefox
()
return
DRIVER