Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ PortProber
Method
PortProber
java/src/org/openqa/selenium/net/PortProber.java:86–88 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
84
}
85
86
private
PortProber() {
87
// Utility class
88
}
89
90
public
static
int
findFreePort() {
91
for
(
int
i = 0; i < 10; i++) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected