I have written an Ant target that starts Selenium server, runs my test code, and then… I would like it to stop the forked process (Selenium). How do I keep track of that forked thread that Ant created in order to stop it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should be able to shutdown selenium server with a direct web request to
http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer
The http get task will do for this.