On 12/31/2018 03:56 PM, George from the tribe wrote:
options = webdriver.ChromeOptions()
options.binary_location = "/Applications/Chrome.app/Contents/MacOS/Google
chrome_driver_binary = "/usr/lib64/chromium/chromedriver"
driver = webdriver.Chrome(chrome_driver_binary, chrome_options=options)
This was originally written for a Mac OS, so I had to change the directory for
the chromedriver binary to the correct location on my machine.
Looks quite suspicious. Surely that's not where it goes on Linux?
I don't use Chrome, so you will have to check the current package to know
where to look for chrome options, but I suspect for per-user options it would
be ~/.config/chrome (or something similar). Globally, it really depends on
where it gets put. Could be /usr/share or /usr/lib64. If it's a library, then
the latter, if it just some text or config, the likely /usr/share.
Sorry not more helpful. Do we have an rpm for that? I'd just rpm -qpl
chrome...rpm > somefile and then browse somefile for where the parts are hidden.
David C. Rankin, J.D.,P.E.
To unsubscribe, e-mail: opensuse+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse+owner(a)opensuse.org