{"id":20127426,"url":"https://github.com/lexxx42/pytest-playwright","last_synced_at":"2026-05-03T11:31:16.413Z","repository":{"id":71883779,"uuid":"604740054","full_name":"Lexxx42/pytest-playwright","owner":"Lexxx42","description":"UI autotest using Pytest and Playwright","archived":false,"fork":false,"pushed_at":"2023-02-22T17:45:52.000Z","size":125,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T21:22:53.202Z","etag":null,"topics":["playwright","pytest","python","qase"],"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/Lexxx42.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-02-21T17:33:05.000Z","updated_at":"2023-03-16T11:18:42.000Z","dependencies_parsed_at":"2023-09-13T12:32:12.460Z","dependency_job_id":null,"html_url":"https://github.com/Lexxx42/pytest-playwright","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lexxx42/pytest-playwright","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lexxx42%2Fpytest-playwright","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lexxx42%2Fpytest-playwright/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lexxx42%2Fpytest-playwright/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lexxx42%2Fpytest-playwright/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lexxx42","download_url":"https://codeload.github.com/Lexxx42/pytest-playwright/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lexxx42%2Fpytest-playwright/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32567137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["playwright","pytest","python","qase"],"created_at":"2024-11-13T20:21:16.049Z","updated_at":"2026-05-03T11:31:16.394Z","avatar_url":"https://github.com/Lexxx42.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pytest-playwright\n\n---\n\n## UI autotest using Pytest and Playwright\n\n---\n\nTools used:\n\n+ [Python 3.11.2](https://www.python.org/downloads/)\n+ [requests 2.28.2](https://pypi.org/project/requests/)\n+ [playwright 1.30.0](https://pypi.org/project/playwright/)\n+ [pytest 7.2.1](https://pypi.org/project/pytest/)\n\n---\n\n## How to use this project\n\n1. Install [Google Chrome browser](https://www.google.com/chrome/)\n2. Install requirements\n\n+ If you use Windows install requirements with the following command:\n```\npip install -r requirements.txt\n```\n\n+ If you use Linux install requirements with the following command:\n```\n+ pip3 install -r requirements.txt\n```\n\n2. Registrate on Qase.io TMS (Test Management System)\n+ [Modern TestOps platform](https://qase.io/)\n\n3. Create new project GoogleSearch\n\u003cimg src=\"img/GS_Qase.png\" width=\"300\" height=\"300\" alt=\"creation of project on the platform\"\u003e\n\n4. Create new suite Index Page\n\u003cimg src=\"img/Create_suite.png\" width=\"300\" height=\"300\" alt=\"creation of test suite\"\u003e\n\n5. Test suite Index Page is a representation of the main Google page\n\u003cimg src=\"img/Google_page.png\" width=\"300\" height=\"200\" alt=\"google main page\"\u003e\n\n+ [Google](https://www.google.com/)\n\n6. Lets check that main search button have the text Google Search\n+ Create test case in the Index Page suite\n\u003cimg src=\"img/testCaseGS.png\" width=\"600\" height=\"200\" alt=\"creation of test case\"\u003e\n+ Use the following command to download new browsers:\n\n```\nplaywright install\n```\n\n+ Use the following command to run autotests:\n\n```\npytest .\n```\n\n+ You can find the locator for the 1st test case on the index page\n  + Use F12 button to open DevTools\n  + \u003cimg src=\"img/main_button_devtools.png\" width=\"200\" height=\"200\" alt=\"usin dev tools on the button\"\u003e\n  + \u003cimg src=\"img/button_html.png\" width=\"800\" height=\"100\" alt=\"button html code\"\u003e\n  + We need to find locator for the button\n  + CSS: \n  ```\n  [data-ved=\"0ahUKEwj-7OLupaf9AhV4Q_EDHQPUDysQ4dUDCBA\"]\n  ```\n  + XPATH: \n  ```\n  //div[@class='FPdoLc lJ9FBc']//input[@name='btnK']\n  ```\n### Source: [Stepushchenko](https://habr.com/ru/post/714950/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flexxx42%2Fpytest-playwright","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flexxx42%2Fpytest-playwright","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flexxx42%2Fpytest-playwright/lists"}