Interface SupportsSkipLogCaptureOption<T extends BaseOptions<T>>

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

public interface SupportsSkipLogCaptureOption<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<Boolean>
    Get whether to skip capturing system logs.
    default T
    setSkipLogCapture(boolean value)
    Skips to start capturing system logs.
    default T
    Skips capturing system logs.

    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

    • skipLogCapture

      default T skipLogCapture()
      Skips capturing system logs.
      Returns:
      self instance for chaining.
    • setSkipLogCapture

      default T setSkipLogCapture(boolean value)
      Skips to start capturing system logs. It might improve network performance. Log-related commands won't work if the capability is enabled. Defaults to false.
      Parameters:
      value - Set it to true in order to skip logcat capture.
      Returns:
      self instance for chaining.
    • doesSkipLogCapture

      default Optional<Boolean> doesSkipLogCapture()
      Get whether to skip capturing system logs.
      Returns:
      True or false.