Package org.openqa.selenium.chromium
Class ChromiumDriverInfo
java.lang.Object
org.openqa.selenium.chromium.ChromiumDriverInfo
- All Implemented Interfaces:
WebDriverInfo
- Direct Known Subclasses:
ChromeDriverInfo
,EdgeDriverInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Some browsers require all the resources of the current system in order to run (for example, Safari on iOS) and so do not support multiple simultaneous sessions on the same system.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openqa.selenium.WebDriverInfo
createDriver, getCanonicalCapabilities, getDisplayName, isAvailable, isPresent, isSupporting, isSupportingBiDi, isSupportingCdp
-
Constructor Details
-
ChromiumDriverInfo
public ChromiumDriverInfo()
-
-
Method Details
-
getMaximumSimultaneousSessions
public int getMaximumSimultaneousSessions()Description copied from interface:WebDriverInfo
Some browsers require all the resources of the current system in order to run (for example, Safari on iOS) and so do not support multiple simultaneous sessions on the same system. Other browsers can create isolated state for each newWebDriver
instance.The count of simultaneous sessions is typically 1, some multiple of the available number of cores, or
Integer.MAX_VALUE
if the number is unbounded or no-one cares.- Specified by:
getMaximumSimultaneousSessions
in interfaceWebDriverInfo
-