Interface SupportsLogPathOption<T extends BaseOptions<T>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String LOG_PATH  
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getLogPath()
      Get the log path where the WebDrive writes the logs.
      default T setLogPath​(java.lang.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 org.openqa.selenium.Capabilities

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

      • setLogPath

        default T setLogPath​(java.lang.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 java.util.Optional<java.lang.String> getLogPath()
        Get the log path where the WebDrive writes the logs.
        Returns:
        the log path.