{"id":20617950,"url":"https://github.com/applitools/example-playwright-python","last_synced_at":"2025-04-15T11:36:02.508Z","repository":{"id":108912277,"uuid":"608729111","full_name":"applitools/example-playwright-python","owner":"applitools","description":"Applitools Example: Playwright in Python","archived":false,"fork":false,"pushed_at":"2024-07-09T14:14:55.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-07-09T17:54:41.470Z","etag":null,"topics":["applitools","applitools-example","applitools-eyes","applitools-tutorial","playwright","pytest","python","test-automation","tutorial","ultrafast-grid","visual-testing"],"latest_commit_sha":null,"homepage":"https://applitools.com/tutorials/quickstart/web/playwright/python","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/applitools.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":"2023-03-02T16:07:44.000Z","updated_at":"2024-07-09T14:14:59.000Z","dependencies_parsed_at":"2024-07-09T17:54:07.999Z","dependency_job_id":null,"html_url":"https://github.com/applitools/example-playwright-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-playwright-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-playwright-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-playwright-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-playwright-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/applitools","download_url":"https://codeload.github.com/applitools/example-playwright-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224911870,"owners_count":17390844,"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":["applitools","applitools-example","applitools-eyes","applitools-tutorial","playwright","pytest","python","test-automation","tutorial","ultrafast-grid","visual-testing"],"created_at":"2024-11-16T12:06:37.571Z","updated_at":"2024-11-16T12:06:38.097Z","avatar_url":"https://github.com/applitools.png","language":"Python","readme":"# Applitools Example: Playwright in Python\n\nThis is the example project for the [Playwright Python tutorial](https://applitools.com/tutorials/quickstart/web/playwright/python).\nIt shows how to start automating visual tests\nwith [Applitools Eyes](https://applitools.com/platform/eyes/)\nand [Playwright](https://playwright.dev/) in TypeScript.\n\nIt uses:\n\n* [Python](https://www.python.org/) as the programming language\n* [Playwright](https://playwright.dev/) for browser automation\n* [pytest](https://docs.pytest.org/) as the core test framework\n* [Chromium](https://www.chromium.org/chromium-projects/) as the local browser for testing\n* [pip](https://packaging.python.org/en/latest/tutorials/installing-packages/) for dependency management\n* [Applitools Eyes](https://applitools.com/platform/eyes/) for visual testing\n\nIt can also run tests with:\n\n* [Applitools Ultrafast Grid](https://applitools.com/platform/ultrafast-grid/) for cross-browser execution\n\nTo run this example project, you'll need:\n\n1. An [Applitools account](https://auth.applitools.com/users/register), which you can register for free\n2. A recent version of [Python 3](https://www.python.org/)\n3. A good Python editor like [Visual Studio Code](https://code.visualstudio.com/docs/languages/python)\n   or [PyCharm](https://www.jetbrains.com/pycharm/).\n\n\nTo install dependencies and set up Playwright, run:\n\n```\npip install -r requirements.txt\nplaywright install\n```\n\nThe main test case spec is [`test_acme_bank.py`](tests/test_acme_bank.py).\nBy default, the project will run tests with Ultrafast Grid.\nYou can change these settings in [`conftest.py`](tests/conftest.py).\n\nTo execute tests, set the `APPLITOOLS_API_KEY` environment variable\nto your [account's API key](https://applitools.com/tutorials/guides/getting-started/registering-an-account),\nand then run:\n\n```\npython3 -m pytest -s -v tests\n```\n\n**For full instructions on running this project, take our\n[Playwright Python tutorial](https://applitools.com/tutorials/quickstart/web/playwright/python)!**\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplitools%2Fexample-playwright-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplitools%2Fexample-playwright-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplitools%2Fexample-playwright-python/lists"}