I have set up a Selenium Grid having one normal Chrome node and one debug node. There are some cases where I would like to run a case on the debug node.

I am using docker-compose to manage the Grid and the only way I can do this via docker-compose so far is to have different image for debug node.

I have read few answers where they have referred specifying an application name or a different version to the nodes that I can then use in the desired capability of my code.

Thanks for the help.


I'd use applicationName. There's a bug to document it:


The bug details how to start a node with a given applicationName via the -brower parameter, e.g.:

java -jar selenium-server-standalone-2.20.0.jar -role node -hub http://HUB_IP:4444/grid/register -browser browserName=firefox,version=11,maxInstances=1,platform=WINDOWS,applicationName=windows7_32bits_firefox_11

And then in your tests, you add the capability, e.g.:

In your tests you have to add "applicationName=windows7_32bits_firefox_11" to your desired capabilities array.

  • 1
    Thanks for the answer Ernie. However I was looking for a way to specify the applicationName or the version via docker-compose file. – soyeb84 Feb 28 '17 at 12:02
  • Sorry, didn't realize that your question was purely around the docker configuration. Probably a better question for SO or some other StackExchange, as that's not really SQA specific – ernie Feb 28 '17 at 17:58

I was struggling with the same problem. You can use param NODE_APPLICATION_NAME=your-app-name in docker-compose file. It's an old question, but maybe this will help someone else.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.