WebDriver.PortFinder

A convenience module for finding a free port to connect to.

Source

Summary

select_port()

Attempt to find a free port to connect to. Relies on the OS to give us a free port

Functions

select_port()

Attempt to find a free port to connect to. Relies on the OS to give us a free port.

Source