The selenium grid is used for the distributed test execution, and it follows Hub-Node architecture. And during automation testing
, both are required to start individually.
Now in selenium 4, Hub & Node are packed in a single jar file, and at the start of the server, it acts as both.
The previous release of selenium supports session maps, router, & distributor processes, while this new release is more scalable. Further, it supports router, distributor, node & session maps processes.
As per the new features of selenium 4, the Gird is able to support IPV6 addresses. It means it enables users to communicate with the grid through HTTPS protocol.
With the enhanced Selenium Grid, the use of configuration files is simple, and one can easily implement the same using TOML (Tom’s Obvious, Minimal Language).
Another exciting thing about Selenium 4 is the Grid’s support for appealing and user-friendly GUI. Moreover, the use of VMs (Virtual Machines) is easier with the presence of Docker in Selenium Grid 4.
Apart from that, developers will have the flexibility to deploy Selenium Grid on Kubernetes. Moreover, it supports AWS, Azure, and many more such tools, hence, is highly useful for DevOps projects.