Selenium testing: a new hope
Alexander Andryashin

Awesome work guys!

Could you please clarify how does it work in a setup with multiple grid routers and load balancer? I’m trying to set up a cloudformation stack ( with 1 auto-scaling group of selenoid nodes and another group of grid routers.

I’m wondering how the following scenario should be handled:

  1. GGR #1 creates a session on Selenoid Node #1?
  2. Next request is routed by LB to GGR #2. How does GGR #2 know which Selenoid node to use for proxying subsequent requests? Does it mean that load balancer should have an internal state and distribute requests based on session_id in a request?