{"id":19437301,"url":"https://github.com/reenhanced/buildpack-chrome-with-chromedriver","last_synced_at":"2026-06-08T23:01:31.385Z","repository":{"id":207441731,"uuid":"719181582","full_name":"reenhanced/buildpack-chrome-with-chromedriver","owner":"reenhanced","description":"Cloud Native Buildpack (CNB) to install Chrome and Chromedriver","archived":false,"fork":false,"pushed_at":"2024-12-16T16:16:38.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-25T07:14:24.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/reenhanced.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"support/test.sh","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-15T16:16:34.000Z","updated_at":"2024-12-16T16:16:42.000Z","dependencies_parsed_at":"2023-11-22T18:26:02.067Z","dependency_job_id":"46664bc7-153e-4a55-ba25-7f247d2842b5","html_url":"https://github.com/reenhanced/buildpack-chrome-with-chromedriver","commit_stats":null,"previous_names":["reenhanced/buildpack-chrome-with-chromedriver"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/reenhanced/buildpack-chrome-with-chromedriver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reenhanced%2Fbuildpack-chrome-with-chromedriver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reenhanced%2Fbuildpack-chrome-with-chromedriver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reenhanced%2Fbuildpack-chrome-with-chromedriver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reenhanced%2Fbuildpack-chrome-with-chromedriver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reenhanced","download_url":"https://codeload.github.com/reenhanced/buildpack-chrome-with-chromedriver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reenhanced%2Fbuildpack-chrome-with-chromedriver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34083848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":[],"created_at":"2024-11-10T15:14:17.711Z","updated_at":"2026-06-08T23:01:31.323Z","avatar_url":"https://github.com/reenhanced.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# buildpack-chrome-with-chromedriver\n\nThis buildpack downloads and installs (headless) Google Chrome from your choice\nof release channels. It also installs chromedriver.\n\nInstallation is performed in the /layers directory in the image so you can mount your rails app\novertop of /workspace for development.\n\n## Channels\n\nYou can choose your release channel by specifying `GOOGLE_CHROME_CHANNEL` as\na config var for your app, in your app.json (for Heroku CI and Review Apps),\nor in your pipeline settings (for Heroku CI).\n\nValid values are `stable`, `beta`, and `unstable`. If unspecified, the `stable`\nchannel will be used.\n\n## Shims and Command Line Flags\n\nThis buildpack installs shims that always add `--headless`, `--disable-gpu`,\n`--no-sandbox`, and `--remote-debugging-port=9222` to any `google-chrome`\ncommand as you'll have trouble running Chrome on a Heroku dyno otherwise.\n\nYou'll have two of these shims on your path: `google-chrome` and\n`google-chrome-$GOOGLE_CHROME_CHANNEL`. They both point to the binary of\nthe selected channel.\n\n## Selenium\n\nTo use Selenium with this buildpack, you'll also need Chrome's webdriver.\nThis buildpack includes it.\n\nAdditionally, chromedriver expects Chrome to be installed at `/usr/bin/google-chrome`,\nbut that's a read-only filesystem in a Heroku slug. You'll need to tell Selenium/chromedriver\nthat the chrome binary is at `$GOOGLE_CHROME_SHIM` instead.\n\nTo make that easier, this buildpack makes `$GOOGLE_CHROME_BIN`, and\n`$GOOGLE_CHROME_SHIM` available as environment variables. With them, you can\nuse the standard location locally and the custom location on Heroku. An example\nconfiguration for Ruby's Capybara:\n\n```\nchrome_bin = ENV.fetch('GOOGLE_CHROME_BIN', nil)\n\nCapybara.register_driver :chrome do |app|\n  options = Selenium::WebDriver::Chrome::Options.new\n  options.binary = chrome_bin if chrome_bin\n\n  Capybara::Selenium::Driver.new(\n     app,\n     browser: :chrome,\n     options: options\n  )\nend\n\nCapybara.javascript_driver = :chrome\n```\n\n## Publishing a new release\n(For maintainers)\n\nYou can publish a new release to the buildpack registry by running the following commands:\n\n```sh\npack buildpack package --publish reenhanced/buildpack-chrome-with-chromedriver\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freenhanced%2Fbuildpack-chrome-with-chromedriver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freenhanced%2Fbuildpack-chrome-with-chromedriver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freenhanced%2Fbuildpack-chrome-with-chromedriver/lists"}