Skip to main content

Identify Xpath expressions in a given document

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xpath_identifier-0.0.9.tar.gz (29.2 kB view hashes)

Uploaded Source

Built Distribution

xpath_identifier-0.0.9-py3-none-any.whl (28.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page