Site icon TestingDocs.com

What is Selenium Session Queue?

Overview

In this post, we will learn about Selenium Session Queue grid component. Session Queue implementation is new feature in Selenium 4.0

Session Queue

The Router adds the new request from the client to the Session queue. The queue holds the requests in First In First Out(FIFO) fashion. For example, imagine the queue at a bank service request. The order is maintained and the first person in the queue would be serviced first.

 

The distributor periodically checks for worker nodes availability, on success the distributor will create a session and stores the information in Session Map.

https://www.testingdocs.com/questions/what-is-selenium-sessionmap/

How to start?

Launch the terminal and issue the following command.

\> java -jar <selenium-server-jar> sessionqueue

We can bind other components as well during the start. Use the –help command switch to know more options.

Selenium Tutorials on this website:

https://www.testingdocs.com/selenium-webdriver-tutorial/

Official Website:

https://www.selenium.dev/

Exit mobile version