Skip to main content

This package provides an interface to interact with AthenaIDX interface via Selenium

Project description

AthenaIDX — Selenium Page Object Model helpers

This repository contains the athenaidx Python package that wraps interactions with the AthenaIDX web UI using Selenium and a Page Object Model (POM) layout.

Quick start

  1. Create and activate a virtualenv:
python -m venv .venv
.venv\Scripts\activate
pip install --upgrade pip
  1. Install dev dependencies for running tests locally (recommended):
pip install -r requirements-dev.txt
  1. Run the example test (requires Chrome or webdriver-manager):
pytest -q

Basic usage (programmatic):

from athenaidx.driver.manager import DriverManager
from athenaidx.page_objects.example_page import ExamplePage

dm = DriverManager(headless=True)
driver = dm.create_driver()
try:
    page = ExamplePage(driver)
    page.open("https://example.com")
    print(page.get_header_text())
finally:
    driver.quit()

Notes

  • Consider installing webdriver-manager for simpler driver management in local development and CI.
  • For CI, configure your workflow to run headless Chrome or use a Selenium standalone server.

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

athenaidx-0.1.0.tar.gz (51.2 kB view details)

Uploaded Source

Built Distribution

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

athenaidx-0.1.0-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

Details for the file athenaidx-0.1.0.tar.gz.

File metadata

  • Download URL: athenaidx-0.1.0.tar.gz
  • Upload date:
  • Size: 51.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for athenaidx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 03dbc449dbd1528c2f25691cbc9e5bd86725bc7f1bc9ffe397dc3a1bd64519a4
MD5 615419f5d3af0cdfe4103ea7516974bf
BLAKE2b-256 37358bfaa6a7e970df4e61d49b7a3134553628a0b6dedd64067bf7eaa271ee95

See more details on using hashes here.

File details

Details for the file athenaidx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: athenaidx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for athenaidx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29c7db975b8abb49c2ac72c4576bd02ec4803b86360749947ea54d13f2f4a2ac
MD5 5394fe08fbb8f752591aaceafb1580a5
BLAKE2b-256 9dc0dd3830a90d80713edba88777e9ebb782dceeddbe8957d1b41fdf19740e7e

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