Hi there,
using selenium==4.22.0 but checked also with selenium==4.28.0, RF=7
For some reasons I need to use Selenium Manager in Offline mode(SE_OFFLINE), but even so it is giving the annoying(chromedriver is in the PATH but .cache/selenium is cleared):
[ WARN ] Exception managing chrome: Unable to discover proper chromedriver version in offline mode
Wanted to totally switch off SE Manager, I was able to do it with direct poinitng to chromedriver in browser instantiation KW.
I would say I have not completely figured out SE Manager myself but a couple thoughts. It seems if you specify both the browser and driver executables then it appears to do less checking and more accepting your setup. It seems to do better when one specifies both browser (options) and driver (service) executables and seems unable to properly match when you provide just driver info. Finally you can turn on SE Manager debugging with the env variable, SE_DEBUG=true. As you are running this in the script and not SE Manager as a standalone executable you may need to also set robot loglevel to TRACE.
We just ran a section about SE Manager in our Advanced SeleniumLibrary workshop and your question here is giving me some good ideas for further instruction, explanations, and internal tests … so thanks for asking!
even after setting the environmental variable SE_OFFLINE to true. the latest stable test version of chrome browser is downloading in cache and opening the from there