Class LocalNode.Builder
java.lang.Object
org.openqa.selenium.grid.node.local.LocalNode.Builder
- Enclosing class:
LocalNode
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionadd(Capabilities stereotype, SessionFactory factory) advanced()build()connectionLimitPerSession(int connectionLimitPerSession) drainAfterSessionCount(int sessionCount) enableBiDi(boolean bidiEnabled) enableCdp(boolean cdpEnabled) enableManagedDownloads(boolean enable) heartbeatPeriod(Duration heartbeatPeriod) maximumConcurrentSessions(int maxCount) nodeDownFailureThreshold(int threshold) Sets the maximum number of consecutive session creation failures allowed before the node is marked as DOWN.sessionTimeout(Duration timeout)
-
Method Details
-
add
-
maximumConcurrentSessions
-
drainAfterSessionCount
-
enableCdp
-
enableBiDi
-
sessionTimeout
-
heartbeatPeriod
-
enableManagedDownloads
-
connectionLimitPerSession
-
nodeDownFailureThreshold
Sets the maximum number of consecutive session creation failures allowed before the node is marked as DOWN. This helps detect and isolate unhealthy nodes that consistently fail to create sessions.- Parameters:
threshold- the maximum number of consecutive failures allowed (0 to disable, which is the default)- Returns:
- this builder
-
build
-
advanced
-