Selenium Grid with a hub and nodes in Docker
QuizMedium-HardAsked in: Capgemini, Swiggy
A Compose file starts selenium/hub as a service named selenium-hub and several selenium/node-chrome and selenium/node-firefox services. Which statements are true? Choose all that apply.
- Each node is told where the hub is with the SE_EVENT_BUS_HOST=selenium-hub environment variable
- Tests connect a RemoteWebDriver to the hub on port 4444, and the hub sends each session to a node with a matching browser
- Adding more node containers increases how many sessions can run in parallel
- Tests must connect to each node separately on port 4444
This question is part of Pro+
Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.