Interface SupportsSafariAutomaticInspectionOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
SafariOptions
public interface SupportsSafariAutomaticInspectionOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to use automatic inspection.default TEnforces safaridriver to use Automatic Inspection.default TsetSafariAutomaticInspection(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, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
SAFARI_AUTOMATIC_INSPECTION_OPTION
- See Also:
-
-
Method Details
-
safariAutomaticInspection
Enforces safaridriver to use Automatic Inspection.- Returns:
- self instance for chaining.
-
setSafariAutomaticInspection
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
Get whether to use automatic inspection.- Returns:
- true or false.
-