{"id":18439661,"url":"https://github.com/logkirk/selenium-tools","last_synced_at":"2026-04-30T14:34:25.512Z","repository":{"id":258380182,"uuid":"821170822","full_name":"logkirk/selenium-tools","owner":"logkirk","description":" A simple template for a selenium test library including a few extra tools to make tests more robust.","archived":false,"fork":false,"pushed_at":"2024-10-16T19:30:01.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T11:12:01.592Z","etag":null,"topics":["python","qa","qa-automation","selenium","test"],"latest_commit_sha":null,"homepage":"https://sr.ht/~logankirkland/selenium-tools/","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/logkirk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-28T01:01:05.000Z","updated_at":"2025-01-07T03:56:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"599999dc-989a-46d0-a0ef-edd354d21cee","html_url":"https://github.com/logkirk/selenium-tools","commit_stats":null,"previous_names":["logkirk/selenium-tools"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logkirk%2Fselenium-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logkirk%2Fselenium-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logkirk%2Fselenium-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logkirk%2Fselenium-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logkirk","download_url":"https://codeload.github.com/logkirk/selenium-tools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248896407,"owners_count":21179423,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","qa","qa-automation","selenium","test"],"created_at":"2024-11-06T06:25:58.147Z","updated_at":"2026-04-30T14:34:20.470Z","avatar_url":"https://github.com/logkirk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Selenium Tools\n==============\n\n[project](https://sr.ht/~logankirkland/selenium-tools/) / \n[repo](https://git.sr.ht/~logankirkland/selenium-tools) / \n[mailing list](https://lists.sr.ht/~logankirkland/selenium-tools) /\n[issues](https://todo.sr.ht/~logankirkland/selenium-tools)\n\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![builds.sr.ht status](https://builds.sr.ht/~logankirkland/selenium-tools.svg)](https://builds.sr.ht/~logankirkland/selenium-tools?)\n\n\u003e ℹ️ **Note**  \n\u003e The canonical project locations are linked above. Other locations are mirrors.\n\nThis is a simple template for a selenium web-based test library. It includes some tools\nwhich help make selenium-based tests more robust and reliable.\n\n- [Description](#description)\n- [File structure](#file-structure)\n- [Installation](#installation)\n- [Configuration](#configuration)\n- [Command line usage](#command-line-usage)\n- [Reporting](#reporting)\n\nFile structure\n--------------\n\n- `selenium-tools` - project root directory\n    - `src` - source code root directory\n        - `.venv` - Python virtual environment (created during installation)\n        - `driver` - module containing basic selenium webdriver code\n        - `locators` - selenium locators and related Python code\n        - `pages` - code related to the Page Object Model\n        - `tests` - test code\n    - `chromedriver.exe` - chromedriver (created during installation)\n    - `parameters.yaml` - test configuration file\n    - `readme.md` - this readme\n    - `requirements.txt` - Python requirements for installation using pip\n\nInstallation\n------------\n\n### Prerequisites\n\nThis guide assumes the following prerequisites have been met:\n\n- Chrome browser installed\n\n### Create Python virtual environment\n\nChange directory to the project root directory, then execute the following command to\ncreate the virtual environment:\n\n```shell\npython -m venv .venv\n```\n\nThen activate the virtual environment using the command appropriate for your shell.\nSee [the documentation](https://docs.python.org/3/library/venv.html#how-venvs-work) for\nmore info.\n\n### Download chromedriver\n\nDownload the version of chromedriver matching the version of your Chrome browser\ninstallation. See\nthe [Chrome for Testing](https://googlechromelabs.github.io/chrome-for-testing/) site\nfor download links. Extract the `.zip` file and copy the chromeriver file to the root\nproject directory.\n\n### Install Python requirements\n\nThe required Python modules are listed in `requirements.txt`. Install them in your\nactivated virtual environment using:\n\n```shell\npython -m pip install -r requirements.txt\n```\n\nConfiguration\n-------------\n\nTest configuration parameters are contained in `parameters.yaml`.\n\nCommand line usage\n------------------\n\nIn the base project directory with the configured virtual environment activated, execute\nthe following to run all tests in the `tests.py` module:\n\n```shell\npython -m unittest tests\n```\n\nRun a specific test suite using:\n\n```shell\npython -m unittest tests.ExampleTestSuite\n```\n\nRun a specific test case using:\n\n```shell\npython -m unittest tests.ExampleTestSuite.test_example_test\n```\n\nSee [unittest documentation](https://docs.python.org/3/library/unittest.html) for more\ndetails.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogkirk%2Fselenium-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogkirk%2Fselenium-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogkirk%2Fselenium-tools/lists"}