Interface SupportsEnableAsyncExecuteFromHttpsOption<T extends BaseOptions<T>>

  • All Superinterfaces:
    CanSetCapability<T>, org.openqa.selenium.Capabilities, java.io.Serializable
    All Known Implementing Classes:
    XCUITestOptions

    public interface SupportsEnableAsyncExecuteFromHttpsOption<T extends BaseOptions<T>>
    extends org.openqa.selenium.Capabilities, CanSetCapability<T>
    • Field Detail

      • ENABLE_ASYNC_EXECUTE_FROM_HTTPS_OPTION

        static final java.lang.String ENABLE_ASYNC_EXECUTE_FROM_HTTPS_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • enableAsyncExecuteFromHttps

        default T enableAsyncExecuteFromHttps()
        Enforces to allow simulators to execute async JavaScript on pages using HTTPS.
        Returns:
        self instance for chaining.
      • setEnableAsyncExecuteFromHttps

        default T setEnableAsyncExecuteFromHttps​(boolean value)
        Capability to allow simulators to execute asynchronous JavaScript on pages using HTTPS. Defaults to false.
        Parameters:
        value - Whether to allow simulators to execute async JavaScript on pages using HTTPS.
        Returns:
        self instance for chaining.
      • doesEnableAsyncExecuteFromHttps

        default java.util.Optional<java.lang.Boolean> doesEnableAsyncExecuteFromHttps()
        Get whether to allow simulators to execute async JavaScript on pages using HTTPS.
        Returns:
        True or false.