Tested on Ubuntu 20.04 LTS
sudo snap install --classic heroku
heroku login
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.util.Scanner; | |
public class password { | |
public static void main(String[] args) throws FileNotFoundException { | |
Scanner scan = new Scanner(new File("password.in")); |
If you are using the chromedriver and Google Chrome Heroku buildpacks together, you may run into a driver compatibility issue with the version of chrome installed.
Example error:
Selenium::WebDriver::Error::SessionNotCreatedError (session not created: This version of ChromeDriver only supports Chrome version 83):
brew install iterm2
brew tap homebrew/cask-fonts
brew install font-ibm-plex
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/mfk/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"