-
Notifications
You must be signed in to change notification settings - Fork 105
Mac OS-specific way to start Selenium server #34
Comments
This is definitely an issue. How about extending |
Yeah.. I'd extend the current Selenium call to do more autodetection.. even |
A JAR in the current directory may not be the most ideal solution. Many people run their tests (using Ginkgo, or I think providing a custom
would provide everyone with free-address generation and the generic process management features of the It seems like the packaged binary is called |
I'm not sure how to proceed anymore.. there are several projects that kind of wrap running the selenium-server .jar with one command, for each platforms, in node, etc.. I was thinking maybe I'd write a simple "selenium-server" package .. that we could install separately, and that would be in the What do you think ? Doing some detection in the |
I added what I described above in 9b538c3. command := []string{"java", "-jar", "selenium-server.jar", "-port", "{{.Port}}"}
core.CustomWebDriver("http://{{.Address}}/wd/hub", command) Does this work for you? You can modify it to run a Selenium JAR located anywhere you want. |
This would work for the simple case, thanks for putting it in.. Since my test suite needs to run on a many people's machine, on 3 platforms.. having a simple executable that downloads the .jar, and runs it as needed, all with a single name would be useful anyawy. And in this case, I'd simply use the |
So does the current combination of |
yes thanks :) |
The "selenium-server" script that must be in the path seems to be installed by the
brew
recipe.. however I didn't find the equivalent on Linux. I was thinking of addingSeleniumJar()
that would launch the.jar
file throughjava -jar whatever.jar.is.in.the.current.directory.jar
.What do you think ?
The text was updated successfully, but these errors were encountered: