BHBot icon indicating copy to clipboard operation
BHBot copied to clipboard

Chromium installation location?

Open nucleare2 opened this issue 4 years ago • 2 comments

Is there a way to change the configuration options to use a custom Chromium installation location?

nucleare2 avatar Jul 04 '20 18:07 nucleare2

Yes, you can do this using command-line arguments for the executable.

You can specify

  • the chromedriver location using chromeDriverExePath parameter
  • the chromium folder path using the chromiumExePath
  • the data directory for chrome profiles (if you plan to run multiple versions) with the userDataDir

Here is a sample of me running BHBot with Chrome 83 BHBot.exe chromeDriverExePath ".\chromedriver83.exe" chromiumExePath "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" userDataDir "./chrome83"

ilpersi avatar Jul 05 '20 08:07 ilpersi

@nucleare2 is the answer I provided to you good enough? This information needs to be added to the documentation.

ilpersi avatar Jul 09 '20 08:07 ilpersi