{"id":22363009,"url":"https://github.com/lambdatest/pytest-headless","last_synced_at":"2026-02-05T18:33:10.321Z","repository":{"id":97545341,"uuid":"500575564","full_name":"LambdaTest/Pytest-headless","owner":"LambdaTest","description":"How to run Chrome and Firefox in headless mode in Pytest","archived":false,"fork":false,"pushed_at":"2022-06-07T13:01:45.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-13T21:31:55.887Z","etag":null,"topics":["lambdatest","pytest","testing"],"latest_commit_sha":null,"homepage":"","language":null,"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/LambdaTest.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,"zenodo":null}},"created_at":"2022-06-06T19:57:48.000Z","updated_at":"2022-06-07T10:59:12.000Z","dependencies_parsed_at":"2023-03-13T16:11:09.999Z","dependency_job_id":null,"html_url":"https://github.com/LambdaTest/Pytest-headless","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LambdaTest/Pytest-headless","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FPytest-headless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FPytest-headless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FPytest-headless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FPytest-headless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LambdaTest","download_url":"https://codeload.github.com/LambdaTest/Pytest-headless/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FPytest-headless/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29128721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T18:31:02.507Z","status":"ssl_error","status_checked_at":"2026-02-05T18:29:43.962Z","response_time":65,"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":["lambdatest","pytest","testing"],"created_at":"2024-12-04T17:13:10.716Z","updated_at":"2026-02-05T18:33:10.314Z","avatar_url":"https://github.com/LambdaTest.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to run Chrome and firefox in headless mode in Pytest on [LambdaTest](https://www.lambdatest.com/?utm_source=github\u0026utm_medium=repo\u0026utm_campaign=Pytest-headless)\n\nIf you want to run chrome and firefox browser in headless mode for an automation test in Pytest on Lambdatest, you can use the following steps. You can refer to sample test repo [here](https://github.com/LambdaTest/pytest-selenium-sample).\n\n# Steps:\n\nYou can run a test in headless mode by adding that as a desired capability in the `conftest.py` file. For example:\n\n ```\ncapabilities = {\n        \"build\": \"Sample PY Build\",\n        \"platformName\": \"Windows 11\",\n        \"browserName\": \"Chrome\",\n        \"browserVersion\": \"latest\",\n        \"headless\": True\n}\n ```\n\n\n# Links:\n\n[LambdaTest Community](http://community.lambdatest.com/)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdatest%2Fpytest-headless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flambdatest%2Fpytest-headless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdatest%2Fpytest-headless/lists"}