Interface SupportsSafariAutomaticInspectionOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
SafariOptions
public interface SupportsSafariAutomaticInspectionOption<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_INSPECTION_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>
doesSafariAutomaticInspection()
Get whether to use automatic inspection.default T
safariAutomaticInspection()
Enforces safaridriver to use Automatic Inspection.default T
setSafariAutomaticInspection(boolean bool)
This capability instructs Safari to preload the Web Inspector and JavaScript debugger 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_INSPECTION_OPTION
static final java.lang.String SAFARI_AUTOMATIC_INSPECTION_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
safariAutomaticInspection
default T safariAutomaticInspection()
Enforces safaridriver to use Automatic Inspection.- Returns:
- self instance for chaining.
-
setSafariAutomaticInspection
default T setSafariAutomaticInspection(boolean bool)
This capability instructs Safari to preload the Web Inspector and JavaScript debugger in the background prior to returning a newly-created window. To pause the test's execution in JavaScript and bring up Web Inspector's Debugger tab, you can simply evaluate a debugger; statement in the test page.- Parameters:
bool
- Whether to use automatic inspection.- Returns:
- self instance for chaining.
-
doesSafariAutomaticInspection
default java.util.Optional<java.lang.Boolean> doesSafariAutomaticInspection()
Get whether to use automatic inspection.- Returns:
- true or false.
-
-