Queuing up the request if the node is busy

By default, you can send five test-script requests to any node. Although it is possible to change that configuration, let's see what happens when a node is already serving five requests, and you fire up another request for that node via the hub. The hub will keep polling the node until it gets a free test slot from the node. The test scripts are made to wait during this time. The hub says there are no free slots for the sixth session to be established with the same node. Meanwhile, on the node host, the node tries to create sessions for the five requests and starts executing the test scripts.

Upon creating the sessions, five Chrome windows are launched and the test scripts are executed on them. ...

Get Selenium WebDriver 3 Practical Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.