Interface SupportsSimpleIsVisibleCheckOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsSimpleIsVisibleCheckOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to use native methods for determining visibility of elements.default TsetSimpleIsVisibleCheck(boolean value) Use native methods for determining visibility of elements.default TEnforce usage of native methods for determining visibility of elements.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
-
SIMPLE_IS_VISIBLE_CHECK_OPTION
- See Also:
-
-
Method Details
-
simpleIsVisibleCheck
Enforce usage of native methods for determining visibility of elements.- Returns:
- self instance for chaining.
-
setSimpleIsVisibleCheck
Use native methods for determining visibility of elements. In some cases this takes a long time. Setting this capability to false will cause the system to use the position and size of elements to make sure they are visible on the screen. This can, however, lead to false results in some situations. Defaults to false, except iOS 9.3, where it defaults to true.- Parameters:
value- Whether to use native methods for determining visibility of elements- Returns:
- self instance for chaining.
-
doesSimpleIsVisibleCheck
Get whether to use native methods for determining visibility of elements.- Returns:
- True or false.
-