ISeleniumAllowNativeXpath Method WebDriver
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.

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 3.1.0
Syntax

void AllowNativeXpath(
	string allow
)

Parameters

allow
Type: SystemString
boolean, true means we'll prefer to use native XPath; false means we'll only use JS XPath
See Also

Reference