{"id":16390154,"url":"https://github.com/r2dev2/autoparaselenium","last_synced_at":"2025-09-21T23:00:31.332Z","repository":{"id":57412898,"uuid":"384873190","full_name":"r2dev2/AutoParaSelenium","owner":"r2dev2","description":"A library to make concurrent selenium tests that automatically download and setup webdrivers","archived":false,"fork":false,"pushed_at":"2023-07-28T04:54:06.000Z","size":52,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T17:50:31.912Z","etag":null,"topics":["concurrency","parallel","pytest","python","python3","selenium","selenium-python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"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/r2dev2.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":"2021-07-11T06:08:42.000Z","updated_at":"2023-11-02T09:08:10.000Z","dependencies_parsed_at":"2024-10-28T15:25:07.775Z","dependency_job_id":"a7d3b93e-3256-4efc-946f-20a4e7c75884","html_url":"https://github.com/r2dev2/AutoParaSelenium","commit_stats":{"total_commits":34,"total_committers":2,"mean_commits":17.0,"dds":"0.23529411764705888","last_synced_commit":"30ffd10e9b0d0c2fb1c2246ba47a42d773d8ba1c"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r2dev2%2FAutoParaSelenium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r2dev2%2FAutoParaSelenium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r2dev2%2FAutoParaSelenium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r2dev2%2FAutoParaSelenium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r2dev2","download_url":"https://codeload.github.com/r2dev2/AutoParaSelenium/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245056889,"owners_count":20553855,"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":["concurrency","parallel","pytest","python","python3","selenium","selenium-python"],"created_at":"2024-10-11T04:35:04.978Z","updated_at":"2025-09-21T23:00:26.219Z","avatar_url":"https://github.com/r2dev2.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoParaSelenium\n\nA library to make parallel selenium tests that automatically download and setup webdrivers\n\n## Usage\n\n### Installation\n\n```\npip install autoparaselenium\n```\n\n### Code\n\nThe API is very simple\n\n```python\nfrom typing import Union\n\nfrom selenium import webdriver\n\nfrom autoparaselenium import configure, chrome, firefox, run_on, all_, Extension\n\n# All parameters are optional, but still call it once before everything\nconfigure(\n    extensions=[\n        Extension(chrome=\"path to chrome extension to install\"),\n        Extension(firefox=\"path to firefox extension to install\"),\n        Extension(chrome=\"chrome path\", firefox=\"firefox path\")\n    ],\n    headless=True, # if there are chrome extensions, chrome will not be headless as a selenium limitation\n    selenium_dir=\"./drivers\"\n)\n\n@run_on(all_)\ndef test_both_firefox_and_chrome(web: Union[webdriver.Firefox, webdriver.Chrome]):\n    ...\n\n@run_on(firefox)\ndef test_firefox_only(web: webdriver.Firefox):\n    ...\n\n@run_on(chrome)\ndef test_chrome_only(web: webdriver.Chrome):\n    ...\n```\n\n### Running \n\nUse `pytest --tests-per-worker PROC` where `PROC` is the number of parallel threads\n\n## Credits\n\n* [pytest-parallel python3.9 support fork](https://github.com/andni233/pytest-parallel/tree/python39-support)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr2dev2%2Fautoparaselenium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr2dev2%2Fautoparaselenium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr2dev2%2Fautoparaselenium/lists"}