Skip to main content

Python (>=3.7) agent that allow to collect locators from Selenium based UI tests.

Inspired by SergeyPirogov koverj-java-agent. Browser_driver instance (e.g. webdriver.Chrome()) has to be created and passed to a LocatorsWatchingDriver

- Selenium usage:

chrome_driver = webdriver.Chrome(executable_path=executable_path, options=chrome_options)
driver = LocatorsWatchingDriver(driver=chrome_driver)

- Selene usage:

driver = LocatorsWatchingDriver(driver=chrome_driver)
browser.set_driver(driver)

An web_driver may be created as pytest fixture, e.g.:

@pytest.fixture()    
def web_driver(chrome_driver):
    driver = LocatorsWatchingDrive(driver=chrome_web_driver)
    browser.set_driver(driver)
    yield browser.driver()
    browser.quit()

If pytest is used the koverj plugin may be registered in conftest.py:

pytest_plugins = [
    'koverj.common.plugin.pytest_koverj_plugin',
]

Supported integrations:

  • Selene
  • Selenium

Supported test runners:

  • pytest

In order to collect data you have to run koverj server (thanks to): docker run -p 8086:8086 spirogov/koverj:0.1.0

In order to see results in your browser add koverj-browser-plugin to your browser.

Download files

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

Source Distribution

koverj-0.1.105.tar.gz (322.7 kB view details)

Uploaded Source

Built Distribution

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

koverj-0.1.105-py3-none-any.whl (331.8 kB view details)

Uploaded Python 3

File details

Details for the file koverj-0.1.105.tar.gz.

File metadata

  • Download URL: koverj-0.1.105.tar.gz
  • Upload date:
  • Size: 322.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.4 Darwin/18.7.0

File hashes

Hashes for koverj-0.1.105.tar.gz
Algorithm Hash digest
SHA256 0aa4f86b5ecfe3b76edaa7f9a7c70bea82ce5ba6b9579a879fb4175eac116e53
MD5 2b128a5d509a6b1d978769227e4f4335
BLAKE2b-256 a8b4c15dba0d52d6e7e1d36105f493edea3c75e1c4f7c0dceff4afa373d7588c

See more details on using hashes here.

File details

Details for the file koverj-0.1.105-py3-none-any.whl.

File metadata

  • Download URL: koverj-0.1.105-py3-none-any.whl
  • Upload date:
  • Size: 331.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.4 Darwin/18.7.0

File hashes

Hashes for koverj-0.1.105-py3-none-any.whl
Algorithm Hash digest
SHA256 86f1db4e6ba62e0c9865fe3bba325f00f0f8363708a4b98c4ba9f16437e75cda
MD5 76774a4c80f13be528f53262a48bda0b
BLAKE2b-256 ec5edda848e19a2b1c555ba02b28ce9a433887793d37563288f9ca92d8ade612

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.105 This release

2 files

0.1.104

2 files

0.1.103

2 files

0.1.102

2 files

0.1.101

2 files

0.1.100

2 files

Supported by

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