Interface SupportsSafariAutomaticProfilingOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
SafariOptions
public interface SupportsSafariAutomaticProfilingOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SAFARI_AUTOMATIC_PROFILING_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>
doesSafariAutomaticProfiling()
Get whether to use automatic profiling.default T
safariAutomaticProfiling()
Enforces safaridriver to use Automatic Inspection.default T
setSafariAutomaticProfiling(boolean bool)
This capability instructs Safari to preload the Web Inspector and start a Timeline recording in the background prior to returning a newly-created window.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
SAFARI_AUTOMATIC_PROFILING_OPTION
static final java.lang.String SAFARI_AUTOMATIC_PROFILING_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
safariAutomaticProfiling
default T safariAutomaticProfiling()
Enforces safaridriver to use Automatic Inspection.- Returns:
- self instance for chaining.
-
setSafariAutomaticProfiling
default T setSafariAutomaticProfiling(boolean bool)
This capability instructs Safari to preload the Web Inspector and start a Timeline recording in the background prior to returning a newly-created window. To view the recording, open the Web Inspector through Safari's Develop menu.- Parameters:
bool
- Whether to use automatic profiling.- Returns:
- self instance for chaining.
-
doesSafariAutomaticProfiling
default java.util.Optional<java.lang.Boolean> doesSafariAutomaticProfiling()
Get whether to use automatic profiling.- Returns:
- true or false.
-
-