Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,39 @@ default T showChromedriverLog() {
* @param value Whether to forward chromedriver output to the Appium server log.
* @return self instance for chaining.
*/
default T setDhowChromedriverLog(boolean value) {
default T setShowChromedriverLog(boolean value) {
return amend(SHOW_CHROMEDRIVER_LOG_OPTION, value);
}

/**
* If set to true then all the output from chromedriver binary will be
* forwarded to the Appium server log. false by default.
*
* @deprecated Use {@link SupportsShowChromedriverLogOption#setShowChromedriverLog(boolean)} instead.
*/
@Deprecated
default T setDhowChromedriverLog(boolean value) {
return setShowChromedriverLog(value);
}

/**
* Get whether to forward chromedriver output to the Appium server log.
*
* @return True or false.
*/
default Optional<Boolean> doesDhowChromedriverLog() {
default Optional<Boolean> doesShowChromedriverLog() {
return Optional.ofNullable(
toSafeBoolean(getCapability(SHOW_CHROMEDRIVER_LOG_OPTION))
);
}

/**
* Get whether to forward chromedriver output to the Appium server log.
*
* @deprecated Use {@link SupportsShowChromedriverLogOption#doesShowChromedriverLog()} (boolean)} instead.
*/
@Deprecated
default Optional<Boolean> doesDhowChromedriverLog() {
return doesShowChromedriverLog();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,19 @@ default T setCustomSSLCert(String cert) {
/**
* Get the SSL certificate content.
*
* @return Certificate content.
* @deprecated use {@link SupportsCustomSslCertOption#getCustomSSLCert()} instead
*/
@Deprecated
default Optional<String> setCustomSSLCert() {
return getCustomSSLCert();
}

/**
* Get the SSL certificate content.
*
* @return Certificate content.
*/
default Optional<String> getCustomSSLCert() {
return Optional.ofNullable((String) getCapability(CUSTOM_SSLCERT_OPTION));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,17 @@ default T setSimulatorTracePointer(boolean value) {
*
* @return True or false.
*/
default Optional<Boolean> doesSimulatorTracePointerd() {
default Optional<Boolean> doesSimulatorTracePointer() {
return Optional.ofNullable(toSafeBoolean(getCapability(SIMULATOR_TRACE_POINTER_OPTION)));
}

/**
* Get whether to highlight pointer moves in the Simulator window.
*
* @deprecated use {@link SupportsSimulatorTracePointerOption#doesSimulatorTracePointer()} instead
*/
@Deprecated
default Optional<Boolean> doesSimulatorTracePointerd() {
return doesSimulatorTracePointer();
}
}