Skip to content

Commit

Permalink
doc: update readme about webdrivers
Browse files Browse the repository at this point in the history
  • Loading branch information
E-L-T committed Feb 15, 2024
1 parent 429c7f4 commit 6771bc6
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 6771bc6

Please sign in to comment.