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 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.