Method: Selenium::Client::GeneratedDriver#use_xpath_library

Defined in:
lib/selenium/client/legacy_driver.rb

#use_xpath_library(libraryName) ⇒ Object

Allows choice of one of the available libraries.

‘libraryName’ is name of the desired library Only the following three can be chosen: * “ajaxslt” - Google’s library* “javascript-xpath” - Cybozu Labs’ faster library* “default” - The default library. Currently the default library is “ajaxslt” . If libraryName isn’t one of these three, then no change will be made.


1613
1614
1615
# File 'lib/selenium/client/legacy_driver.rb', line 1613

def use_xpath_library(libraryName)
    remote_control_command("useXpathLibrary", [libraryName,])
end