Interface SupportsLogcatFilterSpecsOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
EspressoOptions, UiAutomator2Options

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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<List<String>>
    Get the logcat filter format.
    default T
    Allows to customize logcat output filtering.

    Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability

    amend, setCapability

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • setLogcatFilterSpecs

      default T setLogcatFilterSpecs(List<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 - suppresses 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 Optional<List<String>> getLogcatFilterSpecs()
      Get the logcat filter format.
      Returns:
      Format specifier. See the documentation on setLogcatFilterSpecs(List) for more details.