You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Migration guide
* Improve & fix typos in README
Co-authored-by: Josh W Lewis <[email protected]>
---------
Co-authored-by: Josh W Lewis <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+35-6Lines changed: 35 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,14 +9,35 @@ In summer 2023, the Chrome development team [addressed a long-standing problem w
9
9
## Installation
10
10
11
11
> [!IMPORTANT]
12
-
> If migrating from a previous Chrome-chromedriver installation, then remove any pre-existing Chrome or Chromedriver buildpacks from the app.
12
+
> If migrating from a previous Chrome-chromedriver installation, then remove any pre-existing Chrome or Chromedriver buildpacks from the app. See the [migration guide](#migrating-from-separate-buildpacks).
After being installed by this buildpack, `chrome` & `chromedriver` are set in the `PATH` of dynos.
@@ -33,13 +54,21 @@ $ which chromedriver
33
54
34
55
These locations may change in future versions of this buildpack, so please allow the operating system to resolve their locations from `PATH`, if possible.
35
56
36
-
##Selecting the Chrome Release Channel
57
+
### Changes to Command Flags
37
58
38
-
By default, this buildpack will download the latest `Stable` release, which is provided
39
-
by [Google](https://googlechromelabs.github.io/chrome-for-testing/).
59
+
The prior `heroku/google-chrome` buildpack wrapped the `chrome` command with default flags using a shim script. This is no longer implemented for `chrome` in this buildpack, to support evolving changes to the Chrome for Testing flags, such as the [--headless=new variation](https://developer.chrome.com/docs/chromium/new-headless).
40
60
41
-
You can control the channel of the release by setting the `GOOGLE_CHROME_CHANNEL`
42
-
config variable to `Stable`, `Beta`, `Dev`, or `Canary`, and then deploy/build the app.
61
+
Depending on how an app is already setup for testing with Chrome, it may not require any changes.
62
+
63
+
**If the app fails to start Chrome**, please ensure that the following argument flags are set wherever `chrome` is invoked:
0 commit comments