Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 325 Bytes

README.md

File metadata and controls

10 lines (9 loc) · 325 Bytes

xpath-identifier

Given an html or similar input xpath-identifier returns the xpath of it's location in the input

Usuage

from xpath_identifier import search_html
test_html = open("src/tests/fixtures/test_html.html").read()
xpaths = search_html(html_fixture, "Send them a gift tracking link")
print(xpaths)