Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get element by xpath

document.evaluate('XPATH HERE', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
Source by coderwall.com #
 
PREVIOUS NEXT
Tagged: #element #xpath
ADD COMMENT
Topic
Name
9+3 =