Interface SupportsLogPathOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.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 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 io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
LOG_PATH
static final java.lang.String LOG_PATH
- See Also:
- Constant Field Values
-
-
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.
-
-