There seems to be a lack of documentation about this (or at least I can't find it). I want to eventually have a load of Selenium tests running on Jenkins and using a Selenium Grid2. When I am writing my tests I would like to know how I tell the hub that I have finished with the WebDriver instance I am using. Should I call webDriver.close() or webDriver.quit()? What happens when I ask for a RemoteWebDriver and none are available, is there a timeout period that I can set?
Or can anyone point me to some documentation/blog about this, everything I've found tells you how to get stuff up and running but stops there?