Skip to content

Commit f8436f6

Browse files
author
Konstantinacc
committed
Omitted BROWSER variable assignment when browser is firefox.
BROWSER variable is already initialised to "firefox", its assignment after checking that browser_name="firefox" can be omitted.
1 parent a67d2b0 commit f8436f6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

codebender_testing/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ def create_webdriver(command_executor, desired_capabilities):
151151
% (CHROME_EXT_MAX_CHROME_VERSION, desired_capabilities["version"]))
152152

153153
elif browser_name == "firefox":
154-
BROWSER = "firefox"
155154
desired_capabilities = DesiredCapabilities.FIREFOX.copy()
156155
desired_capabilities.update(_capabilities)
157156
browser_profile = _get_firefox_profile()

0 commit comments

Comments
 (0)