Merge "Add an option to use Google Chrome for Selenium tests"
This commit is contained in:
commit
3db9b8d4ad
@ -28,6 +28,9 @@ from selenium.webdriver.remote import webelement
|
||||
if os.environ.get('SELENIUM_PHANTOMJS'):
|
||||
from selenium.webdriver import PhantomJS as WebDriver
|
||||
desired_capabilities = dc.DesiredCapabilities.PHANTOMJS
|
||||
elif os.environ.get('SELENIUM_CHROME'):
|
||||
from selenium.webdriver import Chrome as WebDriver
|
||||
desired_capabilities = dc.DesiredCapabilities.CHROME
|
||||
else:
|
||||
from horizon.test.firefox_binary import WebDriver
|
||||
desired_capabilities = dc.DesiredCapabilities.FIREFOX
|
||||
|
Loading…
Reference in New Issue
Block a user