Created
December 5, 2011 17:51
-
-
Save canonic-epicure/1434550 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (var i = 0; i < browser.length; i++) { | |
try { | |
// add "*" at the beginning if absent | |
var browserName = browser[ i ].replace(/^\*?/, '*') | |
var selenium = new DefaultSelenium(serverHost, serverPort, browserName, harnessURL) | |
selenium.start() | |
supported.push({ | |
browserName : browserName, | |
selenium : selenium | |
}) | |
} catch (e) { | |
debug("Ignoring not supported browser: " + browserName) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment