Interface SupportsSkipLogcatCaptureOption<T extends BaseOptions<T>>

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

public interface SupportsSkipLogcatCaptureOption<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 delete all the existing logs in the device buffer before starting a new test.
    default T
    setSkipLogcatCapture(boolean value)
    Being set to true disables automatic logcat output collection during the test run.
    default T
    Disables automatic logcat output collection during the test run.

    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

    • skipLogcatCapture

      default T skipLogcatCapture()
      Disables automatic logcat output collection during the test run.
      Returns:
      self instance for chaining.
    • setSkipLogcatCapture

      default T setSkipLogcatCapture(boolean value)
      Being set to true disables automatic logcat output collection during the test run. false by default
      Parameters:
      value - Whether to delete all the existing device logs before starting a new test.
      Returns:
      self instance for chaining.
    • doesSkipLogcatCapture

      default Optional<Boolean> doesSkipLogcatCapture()
      Get whether to delete all the existing logs in the device buffer before starting a new test.
      Returns:
      True or false.