public static interface WebBrowser.Options
Modifier and Type | Method and Description |
---|---|
void |
configureXPathLocatorHeuristics(boolean useIdAttributeForXPathLocator,
boolean useClassAttributeForXPathLocator)
Enables/Disables usage of id and class attributes in computing xpath locators for nodes
|
void |
enableOXPathOptimization(boolean enabled)
This should be used only when the browser is used for OXPath.
|
Boolean |
fallBackToJSExecutionOnNotInteractableElements() |
void |
setFallBackToJSExecutionOnNotInteractableElements(boolean enableJSAsFallBack)
Default value is true, that is will try to perform javascript actions when the element is not visible/enabled
|
Boolean |
useClassAttributeForXPathLocator() |
Boolean |
useIdAttributeForXPathLocator() |
Boolean fallBackToJSExecutionOnNotInteractableElements()
void setFallBackToJSExecutionOnNotInteractableElements(boolean enableJSAsFallBack)
enableJSAsFallBack
- void enableOXPathOptimization(boolean enabled)
enabled
- void configureXPathLocatorHeuristics(boolean useIdAttributeForXPathLocator, boolean useClassAttributeForXPathLocator)
useIdAttributeForXPathLocator
- useClassAttributeForXPathLocator
- Boolean useIdAttributeForXPathLocator()
Boolean useClassAttributeForXPathLocator()
Copyright © 2020 OXPath Team. All rights reserved.