{"id":21358240,"url":"https://github.com/snacsnoc/edgecaser","last_synced_at":"2025-10-11T22:55:40.452Z","repository":{"id":219243201,"uuid":"748529095","full_name":"snacsnoc/edgecaser","owner":"snacsnoc","description":"This tool uses Selenium with Python to take screenshots of a webpage at various stages of its loading process","archived":false,"fork":false,"pushed_at":"2024-02-12T10:38:19.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T06:16:36.851Z","etag":null,"topics":["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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snacsnoc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-01-26T07:15:28.000Z","updated_at":"2024-01-30T08:04:51.000Z","dependencies_parsed_at":"2024-01-26T09:51:00.328Z","dependency_job_id":"0c8e6d64-6cdb-4639-b30c-32d04ecc1cc4","html_url":"https://github.com/snacsnoc/edgecaser","commit_stats":null,"previous_names":["snacsnoc/edgecaser"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/snacsnoc/edgecaser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snacsnoc%2Fedgecaser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snacsnoc%2Fedgecaser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snacsnoc%2Fedgecaser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snacsnoc%2Fedgecaser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snacsnoc","download_url":"https://codeload.github.com/snacsnoc/edgecaser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snacsnoc%2Fedgecaser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009155,"owners_count":26084554,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["selenium-python"],"created_at":"2024-11-22T05:15:12.031Z","updated_at":"2025-10-11T22:55:40.423Z","avatar_url":"https://github.com/snacsnoc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## edgecaser\nRun your web app through multiple network conditions and test for unexpected issues.\n\n__Website demo:__ https://edgecaser.up.railway.app/\n\n## How It Works\n- **Quart**: Uses the async framework Quart handles HTTP requests and serves the web interface.\n- **Playwright**: Replaces Selenium WebDriver (see `web_run.py`) with Playwright for browser automation. Playwright supports testing across Chrome, Firefox, and WebKit with a single API.\n- **Dynamic Screenshot Capturing**: Utilizes Playwright's screenshot capabilities to capture the state of the webpage at regular intervals.\n- **Chrome Network Condition Simulation**: Uses Chrome DevTools Profile ability to simulate various network conditions (such as Slow 3G, Fast 3G, LTE, 5G, and custom profiles) to test how network performance impacts user experience.\n- **Video Creation**: Combines captured screenshots into a video using `ffmpeg`.\n\n## Features\n- **Cross-Browser Testing**: Utilizes Playwright for testing across Chrome, Firefox, and WebKit (Safari).\n- **Headless Mode**: Supports headless testing in all browsers.\n- **Custom Settings**: Offers adjustable resolution and network condition simulation for specific testing scenarios.\n\n## Future Plans\n- **Advanced Interactions**: Enables complex user interactions (clicks, submissions) via Playwright's API.\n- **Logging and Diagnostics**: Plans to capture detailed logs and metrics for enhanced analysis.\n\n## Setup and Running\n\n### Setup\nEnsure you have Python 3.7+ and a smile on your face. Install the required dependencies:\n\n```bash\npip install -r requirements.txt\n```\n\n### Running the Application\n- Start Quart in debug mode:\n```bash\nquart --debug run\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnacsnoc%2Fedgecaser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnacsnoc%2Fedgecaser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnacsnoc%2Fedgecaser/lists"}