Skip to content

Conversation

@brendankenny
Copy link
Contributor

update chrome-launcher so it includes support for getChromeLauncher, which makes it easier to take advantage of chrome-launcher's cross-platform search for a chrome executable but you only need the path, not an actual launched Chrome.

e.g. with puppeteer:

const browser = await puppeteer.launch({
  headless: false,
  executablePath: chromeLauncher.getChromePath(),
});

or on the command line (via the print-chrome-path bin): CHROME_PATH="$(npm exec print-chrome-path)"

@brendankenny brendankenny requested a review from a team as a code owner November 10, 2021 16:17
@brendankenny brendankenny requested review from connorjclark and removed request for a team November 10, 2021 16:17
@google-cla google-cla bot added the cla: yes label Nov 10, 2021
@connorjclark connorjclark changed the title deps: update chrome-launcher to latest deps: update chrome-launcher to 0.15.0 Nov 10, 2021
@brendankenny
Copy link
Contributor Author

@connorjclark sorry, really wanted this in for 9.0 since it's a 0.14.2 -> 0.15.0 bump

@devtools-bot devtools-bot merged commit 444c16e into master Nov 15, 2021
@devtools-bot devtools-bot deleted the bump-chrome-launcher branch November 15, 2021 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants