Interface SupportsLogPathOption<T extends BaseOptions<T>>

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

public interface SupportsLogPathOption<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<String>
    Get the log path where the WebDrive writes the logs.
    default T
    setLogPath(String logPath)
    If set, the path to use with the --log-path parameter directing WebDriver to write its log to that path.

    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

    • setLogPath

      default T setLogPath(String logPath)
      If set, the path to use with the --log-path parameter directing WebDriver to write its log to that path.
      Parameters:
      logPath - where to write the logs.
      Returns:
      self instance for chaining.
    • getLogPath

      default Optional<String> getLogPath()
      Get the log path where the WebDrive writes the logs.
      Returns:
      the log path.