2) That looks odd. After shutDownSeleniumServer() completes (which may happen *after* it returns to you), the next stop() is going to fail somehow.
Ross
selenium.shutDownSeleniumServer();
selenium.stop();
@Arian,
Now here's the interesting part.
Assuming that a person started the selenium standalone server using
java -jar selenium-server-standalone-2.9.0.jar
on the command prompt and then went about instantiating Selenium using
Selenium selenium = new DefaultSelenium("localhost",4444, "*firefox", "http://www.google.com");
and then somewhere down the line in their code they used selenium.shutDownSeleniumServer() this shuts down the selenium server that I spawned from the command prompt.
seleniumServer.stop() essentially kills the programmatically spawned SeleniumServer.
Thanks & Regards
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.