Fix "all" vs. "ALL" in Selenium logging configuration.

The previous value broke all the tests on Jenkins.
This commit is contained in:
John Chilton
2017-08-31 21:23:56 -04:00
parent 354ce19677
commit edd3b07c3d
+3 -1
View File
@@ -42,7 +42,9 @@ def get_remote_driver(
browser = "CHROME"
assert browser in ["CHROME", "EDGE", "ANDROID", "FIREFOX", "INTERNETEXPLORER", "IPAD", "IPHONE", "OPERA", "PHANTOMJS", "SAFARI"]
desired_capabilities = getattr(DesiredCapabilities, browser)
desired_capabilities['loggingPrefs'] = {"browser": "all"}
desired_capabilities["loggingPrefs"] = {
"browser": "ALL",
}
executor = 'http://%s:%s/wd/hub' % (host, port)
driver = webdriver.Remote(
command_executor=executor,