Interface SupportsNewCommandTimeoutOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.time.Duration> getNewCommandTimeout()
      Get the timeout for new commands.
      default T setNewCommandTimeout​(java.time.Duration duration)
      Set the timeout for new commands.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • Field Detail

      • NEW_COMMAND_TIMEOUT_OPTION

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

      • setNewCommandTimeout

        default T setNewCommandTimeout​(java.time.Duration duration)
        Set the timeout for new commands.
        Parameters:
        duration - is the allowed time before seeing a new command.
        Returns:
        self instance for chaining.
      • getNewCommandTimeout

        default java.util.Optional<java.time.Duration> getNewCommandTimeout()
        Get the timeout for new commands.
        Returns:
        allowed time before seeing a new command.