mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix "all" vs. "ALL" in Selenium logging configuration.
The previous value broke all the tests on Jenkins.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user