Access Keys:
Skip to content (Access Key - 0)
Log in (Access Key - 5)



Toggle Sidebar

allowNativeXpath-action-selcore

@since Molybenum 0.7.1 (Selenium Core 0.8.3)

API Doc

allowNativeXpath (allow)

(inherited from Selenium Core)

Specifies whether Selenium should use the native in-browser implementation
of XPath (if any native version is available); if you pass "false" to
this function, we will always use our pure-JavaScript xpath library.
Using the pure-JS xpath library can improve the consistency of xpath
element locators between different browser vendors, but the pure-JS
version is much slower than the native implementations.
Arguments:

  • allow -
    boolean, true means we'll prefer to use native XPath; false means we'll only use JS XPath
last edited on Dec 05, 2008 13:48
Adaptavist Theme Builder Powered by Atlassian Confluence