Interface SupportsKeychainsExcludePatternsOption<T extends BaseOptions<T>>

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

    public interface SupportsKeychainsExcludePatternsOption<T extends BaseOptions<T>>
    extends org.openqa.selenium.Capabilities, CanSetCapability<T>
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getKeychainsExcludePatterns()
      Get keychains exclude patterns.
      default T setKeychainsExcludePatterns​(java.lang.String patterns)
      This capability accepts comma-separated path patterns, which are going to be excluded from keychains restore while full reset is being performed on Simulator.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • KEYCHAINS_EXCLUDE_PATTERNS_OPTION

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

      • setKeychainsExcludePatterns

        default T setKeychainsExcludePatterns​(java.lang.String patterns)
        This capability accepts comma-separated path patterns, which are going to be excluded from keychains restore while full reset is being performed on Simulator. It might be useful if you want to exclude only particular keychain types from being restored, like the applications keychain. This feature has no effect on real devices. E.g. "*keychain*.db*" to exclude applications keychain from being restored
        Parameters:
        patterns - Comma-separated list of file exclude patterns.
        Returns:
        self instance for chaining.
      • getKeychainsExcludePatterns

        default java.util.Optional<java.lang.String> getKeychainsExcludePatterns()
        Get keychains exclude patterns.
        Returns:
        Exclude patterns.