Interface SupportsLogcatFilterSpecsOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.util.List<java.lang.String>> getLogcatFilterSpecs()
      Get the logcat filter format.
      default T setLogcatFilterSpecs​(java.util.List<java.lang.String> format)
      Allows to customize logcat output filtering.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • LOGCAT_FILTER_SPECS_OPTION

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

      • setLogcatFilterSpecs

        default T setLogcatFilterSpecs​(java.util.List<java.lang.String> format)
        Allows to customize logcat output filtering.
        Parameters:
        format - The filter specifier. Consists from series of `tag[:priority]` items, where `tag` is a log component tag (or `*` to match any value) and `priority`: V (Verbose), D (Debug), I (Info), W (Warn), E (Error), F (Fatal), S (Silent - supresses all output). `tag` without `priority` defaults to `tag:v`. If not specified, filterspec is set from ANDROID_LOG_TAGS environment variable. If no filterspec is found, filter defaults to `*:I`, which means to only show log lines with any tag and the log level INFO or higher.
        Returns:
        self instance for chaining.
      • getLogcatFilterSpecs

        default java.util.Optional<java.util.List<java.lang.String>> getLogcatFilterSpecs()
        Get the logcat filter format.
        Returns:
        Format specifier. See the documentation on setLogcatFilterSpecs(List) for more details.