Interface SupportsShouldUseSingletonTestManagerOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsShouldUseSingletonTestManagerOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SHOULD_USE_SINGLETON_TEST_MANAGER_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>
doesUseSingletonTestManager()
Get whether to use the default proxy for test management within WebDriverAgent.default T
setShouldUseSingletonTestManager(boolean value)
Use default proxy for test management within WebDriverAgent.default T
shouldUseSingletonTestManager()
Enforce usage of the default proxy for test management within WebDriverAgent.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
SHOULD_USE_SINGLETON_TEST_MANAGER_OPTION
static final java.lang.String SHOULD_USE_SINGLETON_TEST_MANAGER_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
shouldUseSingletonTestManager
default T shouldUseSingletonTestManager()
Enforce usage of the default proxy for test management within WebDriverAgent.- Returns:
- self instance for chaining.
-
setShouldUseSingletonTestManager
default T setShouldUseSingletonTestManager(boolean value)
Use default proxy for test management within WebDriverAgent. Setting this to false sometimes helps with socket hangup problems. Defaults to true.- Parameters:
value
- Whether to use the default proxy for test management within WebDriverAgent.- Returns:
- self instance for chaining.
-
doesUseSingletonTestManager
default java.util.Optional<java.lang.Boolean> doesUseSingletonTestManager()
Get whether to use the default proxy for test management within WebDriverAgent.- Returns:
- True or false.
-
-