An NDoc Documented Class Library

ISelenium.AllowNativeXpath Method 

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.

void AllowNativeXpath(
   string allow
);

Parameters

allow
boolean, true means we'll prefer to use native XPath; false means we'll only use JS XPath

See Also

ISelenium Interface | Selenium Namespace