{"id":18941204,"url":"https://github.com/gingeleski/helloworld-headless-chrome-windows","last_synced_at":"2026-05-05T20:39:43.563Z","repository":{"id":82371063,"uuid":"124342065","full_name":"gingeleski/helloworld-headless-chrome-windows","owner":"gingeleski","description":"Powershell and Python experiments with headless Chrome on Windows.","archived":false,"fork":false,"pushed_at":"2018-03-12T20:12:57.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T06:45:41.755Z","etag":null,"topics":["headless-chrome","powershell","python","windows"],"latest_commit_sha":null,"homepage":null,"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/gingeleski.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":"2018-03-08T05:34:18.000Z","updated_at":"2023-09-08T17:37:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"b309be90-c8f2-426c-91cd-65560e40e55a","html_url":"https://github.com/gingeleski/helloworld-headless-chrome-windows","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gingeleski%2Fhelloworld-headless-chrome-windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gingeleski%2Fhelloworld-headless-chrome-windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gingeleski%2Fhelloworld-headless-chrome-windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gingeleski%2Fhelloworld-headless-chrome-windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gingeleski","download_url":"https://codeload.github.com/gingeleski/helloworld-headless-chrome-windows/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239940132,"owners_count":19721976,"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":["headless-chrome","powershell","python","windows"],"created_at":"2024-11-08T12:26:36.065Z","updated_at":"2026-03-23T15:30:19.297Z","avatar_url":"https://github.com/gingeleski.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Headless Chrome experiments on Windows\n\nPowershell and Python experiments with headless Chrome.\n\nI thought this might be enlightening for others trying to get started. :rainbow:\n\nThis was practice for refactoring [xssmap](https://github.com/gingeleski/xssmap) to leverage headless Chrome.\n\n## Powershell smoke test\n\n```\ncd 'C:\\Program Files (x86)\\Google\\Chrome\\Application'\n\n# Dump DOM to the screen\n.\\chrome.exe --headless --disable-gpu --enable-logging --dump-dom https://www.google.com/\n\n# Save the page as a PDF\n.\\chrome.exe --headless --disable-gpu --print-to-pdf=C:\\Temp\\output.pdf https://www.google.com/\n\n# Screenshot the page\n.\\chrome.exe --headless --disable-gpu --screenshot=C:\\Temp\\screenshot.png https://www.google.com/\n```\n\nCredit to [this StackOverflow answer](https://stackoverflow.com/questions/45364102/how-do-i-use-headless-chrome-in-chrome-60-on-windows-10). :100:\n\n## Run Python\n\nFirst [download chromedriver.exe](https://sites.google.com/a/chromium.org/chromedriver/downloads) (\u003e= v2.32) into the repo directory.\n\nThen you can do the following from your prompt... and I recommend doing so [from a venv](https://docs.python.org/3/library/venv.html).\n\n```\npip install -r requirements.txt\npython chrome_test.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgingeleski%2Fhelloworld-headless-chrome-windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgingeleski%2Fhelloworld-headless-chrome-windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgingeleski%2Fhelloworld-headless-chrome-windows/lists"}