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.0.1.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.0.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: get_locator-10.0.1.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.0.1.tar.gz
Algorithm Hash digest
SHA256 9082e5c4c1807a6801cd9a6b99c7f7a88c8eba4a9dc99d0faeb011f9c7090f66
MD5 d66d601fb26e8a7efd460d72114882e0
BLAKE2b-256 4464b13e23f5c8fc9663658745043627f7281cee25be26e1479d665e09e2fe1d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: get_locator-10.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f69e0a2a51aa75b7979e4fc42d14a7eda0d315c374b7599950ee16b7d02b944c
MD5 25de7d36823f3589680bc797a8706ca0
BLAKE2b-256 91a08353c25e067186a090f393aefc8457c905e14e829acad73a0c562151f8ff

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