Interface SupportsFullContextListOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.Boolean> doesFullContextList()
      Get whether to return the detailed information on contexts for the get available context command.
      default T fullContextList()
      Enforces to return the detailed information on contexts for the get available context command.
      default T setFullContextList​(boolean value)
      Sets to return the detailed information on contexts for the get available context command.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • FULL_CONTEXT_LIST_OPTION

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

      • fullContextList

        default T fullContextList()
        Enforces to return the detailed information on contexts for the get available context command.
        Returns:
        self instance for chaining.
      • setFullContextList

        default T setFullContextList​(boolean value)
        Sets to return the detailed information on contexts for the get available context command. If this capability is enabled, then each item in the returned contexts list would additionally include WebView title, full URL and the bundle identifier. Defaults to false.
        Parameters:
        value - Whether to return the detailed info on available context command.
        Returns:
        self instance for chaining.
      • doesFullContextList

        default java.util.Optional<java.lang.Boolean> doesFullContextList()
        Get whether to return the detailed information on contexts for the get available context command.
        Returns:
        True or false.