Skip to main content

Pytest plugin. Run command, e.g.: run-inspector --url "https://demoqa.com/automation-practice-form"

Project description

Interesting library

This project helps to generate locators for a web project. The project is based on selenium. It can be used in Python + Pytest + Selenium(Selene) bundle P.S.: Sometimes after moving to another page when clicking on elements that redirect somewhere or open something, the locator is not generated, but a click occurs, this problem has not been solved yet. Therefore, I advise you to run the project through the terminal and opens each page (if you need several pages) in a new terminal. Then locators will be generated for all elements.

  1. Run via command line using default test arguments:
  2. Run project with web_inspector.py file
    • You can also add your tags to priority if your team uses its own specific tags (locator_attributes).
    • File will be created at the root of the project after first run this command:
      • create-setup --run
  3. To exit, click the Q button.

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

get_locator-10.1.2.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

get_locator-10.1.2-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file get_locator-10.1.2.tar.gz.

File metadata

  • Download URL: get_locator-10.1.2.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for get_locator-10.1.2.tar.gz
Algorithm Hash digest
SHA256 8696fb17071c64311d74c93f7ccd4153df0d02d0982bd5b7a6c462cb3127f798
MD5 4e7370fe8fec75c065b1d4bcd6752808
BLAKE2b-256 44e94a3ad0131e60344dc9c13f68176d1498a8024f4d0f26e90f44fc570482e9

See more details on using hashes here.

File details

Details for the file get_locator-10.1.2-py3-none-any.whl.

File metadata

  • Download URL: get_locator-10.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for get_locator-10.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c9cb8cf1b5a6d4d56efeebda84ede4d882a4be8c397da6f1a618a3b3bb44613a
MD5 7d1df5b5ea77541af3b2bfbf2a126d8b
BLAKE2b-256 c1858a26a362b5d393d1daf623eb6fba24970d89796948e755e28599948da7d4

See more details on using hashes here.

Supported by

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