{"id":15189777,"url":"https://github.com/browser-actions/setup-chrome","last_synced_at":"2025-05-15T20:04:35.135Z","repository":{"id":37802682,"uuid":"327321858","full_name":"browser-actions/setup-chrome","owner":"browser-actions","description":"Set up your GitHub Actions workflow with a specific version of chromium ","archived":false,"fork":false,"pushed_at":"2025-02-11T01:59:37.000Z","size":835,"stargazers_count":178,"open_issues_count":13,"forks_count":65,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-05T19:43:32.139Z","etag":null,"topics":["chrome","chromium","github-actions"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/setup-chrome","language":"TypeScript","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/browser-actions.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-01-06T13:35:46.000Z","updated_at":"2025-05-02T09:44:25.000Z","dependencies_parsed_at":"2023-11-11T04:25:06.420Z","dependency_job_id":"fb294317-5e69-4766-b770-82b9815ba03c","html_url":"https://github.com/browser-actions/setup-chrome","commit_stats":{"total_commits":221,"total_committers":8,"mean_commits":27.625,"dds":"0.44796380090497734","last_synced_commit":"1208fbfeb50c2d4be7a87c2fa47d4cd7db1270e3"},"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browser-actions%2Fsetup-chrome","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browser-actions%2Fsetup-chrome/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browser-actions%2Fsetup-chrome/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browser-actions%2Fsetup-chrome/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/browser-actions","download_url":"https://codeload.github.com/browser-actions/setup-chrome/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254414499,"owners_count":22067272,"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":["chrome","chromium","github-actions"],"created_at":"2024-09-27T20:02:09.313Z","updated_at":"2025-05-15T20:04:33.749Z","avatar_url":"https://github.com/browser-actions.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cp\u003e\n  \u003ca href=\"https://github.com/browser-actions/setup-chrome/actions\"\u003e\u003cimg alt=\"typescript-action status\" src=\"https://github.com/browser-actions/setup-chrome/workflows/build-test/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# setup-chrome\n\nThis action sets-up Google Chrome/Chromium for GitHub Actions. This action supports the following features:\n\n- Install and setup the Google Chrome onto the runner.\n- Install a specific version of Google Chrome/Chromium by the version number, commit position, and release channel.\n- Cross-platform runner support (Windows, macOS, Linux) and self-hosted runner support.\n- Install the compatible versions of ChromeDriver with the browser.\n\n## Usage\n\nHere is a basic usage.\nThe action installs the latest build by default.\n\n```yaml\nsteps:\n  - uses: browser-actions/setup-chrome@v1\n  - run: chrome --version\n```\n\nTo install a specific channel, use `chrome-version` input.\n\n```yaml\nsteps:\n  - uses: browser-actions/setup-chrome@v1\n    with:\n      chrome-version: 120\n```\n\nThe action support installing the compatible ChromeDriver with the browser.\nYou can use the `install-chromedriver` to install the ChromeDriver.\n\n```yaml\nsteps:\n  - uses: browser-actions/setup-chrome@v1\n    with:\n      chrome-version: 120\n      install-chromedriver: true\n```\n\nIf you use the self-hosted runner, your runner may not have the required dependencies on the system.\nYou can install the dependencies by using the `install-dependencies` parameter.\nIt installs the required dependencies for the Google Chrome/Chromium to run automatically.\n\n```yaml\nsteps:\n  - uses: browser-actions/setup-chrome@v1\n    with:\n      chrome-version: 120\n      install-dependencies: true\n```\n\n### Supported version formats\n\nThe action supports the following version formats:\n\n- The latest snapshot `latest` (default).\n- Commit positions like `1295939`.  You can find commit positions from [here][snapshots].\n- Google Chrome release channels: `stable`, `beta`, `dev` and `canary`\n- Specific versions: `119`, `120.0.6099`, `121.0.6100.0`.  The version are resolved by [Chrome for Testing][].\n\n[Chrome for Testing]: https://googlechromelabs.github.io/chrome-for-testing/\n\n### Installed path\n\nThe installed binary name is not always `chrome` or `chromium`.\nIt depends on your installation spec and OS.\n\nTo get the installed binary path, use `chrome-path` output of the action:\n\n```yaml\nsteps:\n  - uses: browser-actions/setup-chrome@v1\n    id: setup-chrome\n  - run: |\n      ${{ steps.setup-chrome.outputs.chrome-path }} --version\n```\n\n## Parameters\n\n### Inputs\n\n- `chrome-version`: *(Optional)* The Google Chrome/Chromium version to be installed.\n  Default: `latest`\n- `install-dependencies`: *(Optional)* Install the required dependencies for the Google Chrome/Chromium to run.\n  Default: `false`\n- `install-chromedriver`: *(Optional)* Install the compatible ChromeDriver with the browser.\n  Default: `false`\n- `no-sudo`: *(Optional)* Do not use sudo to install Google Chrome/Chromium (Linux only).\n  Default: `false`\n\n### Outputs\n\n- `chrome-path`: The installed Google Chrome/Chromium binary path.\n- `chrome-version`: The installed Google Chrome/Chromium version.\n- `chromedriver-path`: The installed ChromeDriver binary path.\n- `chromedriver-version`: The installed ChromeDriver version.\n\n[snapshots]: https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowser-actions%2Fsetup-chrome","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrowser-actions%2Fsetup-chrome","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowser-actions%2Fsetup-chrome/lists"}