We're confused about the meaning of MaxSession and MaxInstances of Selenium Grid. We think that the MaxSession is the total number of test sessions that can run on a single node. And we also think that the MaxInstances is the total number of browsers that a test can open.
Or is MaxInstances the total number of browsers available to the node?
The command that we are using is:
java -Xrs -jar selenium-server.jar -role node -port 44506 -hub http://localhost:44500
/grid/register -firefoxProfileTemplate SeleniumProfile -timeout 300000 -browser
We think the way we are using our node (above) is 5 concurrent test sessions by default.
Does each test have 20 browsers available to it?
Or does each test session share the 20 browsers (10 chrome/10 FF) in a pool - with the other test sessions?