Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

Error when running test using a grid set up

Solved 1 Answers 200 Views Selenium
0 1

I am getting the following error when grid has been set up and test is to be executed on the local machine


Error forwarding the new session Empty pool of VM for setup Capabilities [{platform=MAC, browserName=firefox, version=}]

Command duration or timeout: 227 milliseconds

My Beforemethod has the following lines of code


DesiredCapabilities cap = null ;

System.out.println("Browser: "+this.browser);


cap = DesiredCapabilities.firefox();




cap =;



String browserName, browserVersion;




/* trying with local machine */

driver = new RemoteWebDriver(new URL(""), cap);

1 Answer

Best answer
It looks like this is environment setup error.
answered by
selected by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.