Skip to content

Commit

Permalink
Merge pull request #10003 from demarches-simplifiees/update-doc-about…
Browse files Browse the repository at this point in the history
…-web-drivers

Doc : complète le readme à propos des webdrivers
  • Loading branch information
colinux authored Feb 19, 2024
2 parents 46b12c0 + 6771bc6 commit 284ecf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/update
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ FileUtils.chdir APP_ROOT do

system! 'npx @puppeteer/browsers install chromedriver --path ~/.local/bin/headless_browsers'
system! 'npx @puppeteer/browsers install chrome --path ~/.local/bin/headless_browsers'
puts "\n if chrome and chromedriver versions are not compatible, add the version you want in the above lines. ex : chrome@121"

system! 'rm -f ~/.local/bin/chromedriver && ln -s $(find ~/.local/bin/headless_browsers -type f -name chromedriver) ~/.local/bin/chromedriver'
system! 'rm -f ~/.local/bin/chrome && ln -s $(find ~/.local/bin/headless_browsers -type f -name chrome) ~/.local/bin/chrome'
Expand Down

0 comments on commit 284ecf8

Please sign in to comment.