{"id":19244929,"url":"https://github.com/andreasneuber/python-cucumber-selenium-example","last_synced_at":"2025-07-19T15:03:44.204Z","repository":{"id":183059831,"uuid":"556970099","full_name":"andreasneuber/python-cucumber-selenium-example","owner":"andreasneuber","description":"Sample implementation for Python Behave.","archived":false,"fork":false,"pushed_at":"2025-07-02T21:09:22.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-02T22:23:27.807Z","etag":null,"topics":["bdd","behave","cucumber","python3","testautomation"],"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/andreasneuber.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":"2022-10-24T21:23:15.000Z","updated_at":"2025-07-02T21:09:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2a30330-9e34-4e74-9ff8-45312b01aa2e","html_url":"https://github.com/andreasneuber/python-cucumber-selenium-example","commit_stats":null,"previous_names":["andreasneuber/python-cucumber-selenium-framework","andreasneuber/python-cucumber-selenium-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andreasneuber/python-cucumber-selenium-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasneuber%2Fpython-cucumber-selenium-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasneuber%2Fpython-cucumber-selenium-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasneuber%2Fpython-cucumber-selenium-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasneuber%2Fpython-cucumber-selenium-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreasneuber","download_url":"https://codeload.github.com/andreasneuber/python-cucumber-selenium-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasneuber%2Fpython-cucumber-selenium-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265950294,"owners_count":23853732,"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":["bdd","behave","cucumber","python3","testautomation"],"created_at":"2024-11-09T17:25:50.078Z","updated_at":"2025-07-19T15:03:44.172Z","avatar_url":"https://github.com/andreasneuber.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-cucumber-selenium-example\nSample implementation of Python Behave\n\n## Application under test\nThe feature files, step definitions and page objects were written for https://github.com/andreasneuber/automatic-test-sample-site.\nReadme in that repo has further details how to set it up.\n\n## Setup - Windows 11 machine\n- IDE used: PyCharm\n- Install Python, with Windows installer - https://www.python.org/downloads/windows/\n- In Pycharm set your new local Python executable as Interpreter\n- Create a virtual environment: `py -m venv .venv`\n- Activate virtual environment: `.venv\\Scripts\\activate`\n- Double-check virtual environment: `pip --version`\n- Install required Python packages: `pip install -r requirements.txt`\n\n## Run all tests locally\n`behave`\n\n## Run specific tests locally\n`behave --tags=data_table`\n\nor\n\n`behave --tags=inlineVars`\n\nor\n\n`behave --tags=background`\n\nor\n\n`behave --tags=scenarioOutline`\n\nor\n\n`behave --tags=horizontalTable`\n\nor\n\n`behave --tags=verticalTable`\n\nor\n\n`behave --tags=verticalTableLong`\n\n## Run locally with Allure reports\nInstall Allure: https://docs.qameta.io/allure/#_get_started\n\n`behave -f allure_behave.formatter:AllureFormatter -o ./reports/allure  ./features`\n\n`allure serve reports/allure`\n\n## More Configuration Possibilities\nhttps://behave.readthedocs.io/en/stable/behave.html#configuration-files\n\n## Updating Behave\n`pip install -U behave`\n\n## Wait Mechanism\nImportant subject - currently example uses functionality of the selenium-page-factory package.\n\n### See also\nhttps://github.com/the-creative-tester/python-behave-web-browser-automation-example\n\nhttps://selenium-page-factory.readthedocs.io/en/latest/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasneuber%2Fpython-cucumber-selenium-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreasneuber%2Fpython-cucumber-selenium-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasneuber%2Fpython-cucumber-selenium-example/lists"}