How to modify selenium docker image for firefox to use specific firefox profile in the grid

48 views
Skip to first unread message

medv...@gmail.com

unread,
Apr 4, 2017, 10:44:34 AM4/4/17
to Selenium Users
hi,
I would like to use the selenium docker image for firefox (https://github.com/SeleniumHQ/docker-selenium/tree/master/NodeFirefoxDebug) with a specific firefox profile in the grid.

As I understand /opt/selenium/generate_config is used to configure the node.

echo "
{
  \"capabilities\": [
    {
      \"version\": \"$FIREFOX_VERSION\",
      \"browserName\": \"firefox\",
      \"maxInstances\": $NODE_MAX_INSTANCES,
      \"seleniumProtocol\": \"WebDriver\"
    }
  ],
  \"proxy\": \"org.openqa.grid.selenium.proxy.DefaultRemoteProxy\",
  \"maxSession\": $NODE_MAX_SESSION,
  \"port\": $NODE_PORT,
  \"register\": true,
  \"registerCycle\": $NODE_REGISTER_CYCLE
  }
}" 

How do I set the firefox profile there?

Thanks,
medve

Reply all
Reply to author
Forward
0 new messages