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

Uploaded Python 3

File details

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

File metadata

  • Download URL: get_locator-10.1.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.1.1.tar.gz
Algorithm Hash digest
SHA256 32d9874bdef7cae9a6831bf422a3ba23a4457aae05d1fb5d8646dd9fe4797226
MD5 45f1824e60dd517f0e30d7b21112047e
BLAKE2b-256 f30a375baa9b0b97f0524e1215259195ed5fcea60c14f5715b7a74ff0b173442

See more details on using hashes here.

File details

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

File metadata

  • Download URL: get_locator-10.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c203a61a3d882f84ded5ffbdbfb9ff153bf62e0dda22f52c380cda8fe53b74d6
MD5 7cd125e88671138d62daed72f7d1e5e0
BLAKE2b-256 b4ecad7ac9d1d39b882002c974d49088badebadc3e5ee675f9f9e5294ea41629

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