# Selenium Manager - WARN message

**URL:** <https://forum.robotframework.org/t/selenium-manager-warn-message/8497>\
**Category:** SeleniumLibrary\
**Created:** [20 February 2025 09:16 UTC](https://forum.robotframework.org/t/selenium-manager-warn-message/8497 "2025-02-20T09:16:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![RysZ](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/rysz/32/4570_2.png) [@RysZ](https://forum.robotframework.org/u/RysZ)\
**Post date:** [20 February 2025 09:16 UTC](https://forum.robotframework.org/t/selenium-manager-warn-message/8497/1 "2025-02-20T09:16:53Z")

</div>

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.

${chrome\_service}= Evaluate sys.modules[‘selenium.webdriver’].ChromeService(r"C:\driver\chromedriver.exe") sys

Create Webdriver Chrome options=${options}  
… service=${chrome\_service}

as executable\_path seems to be deprecated(it is now in Service class), is there any other option to switch off Se Manager?

---

<div class="post-metadata">

**Author:** ![EdManlove](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/edmanlove/32/1002_2.png) [@EdManlove](https://forum.robotframework.org/u/EdManlove)\
**Post date:** [20 February 2025 10:35 UTC](https://forum.robotframework.org/t/selenium-manager-warn-message/8497/2 "2025-02-20T10:35:05Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![RysZ](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/rysz/32/4570_2.png) [@RysZ](https://forum.robotframework.org/u/RysZ)\
**Post date:** [20 February 2025 10:45 UTC](https://forum.robotframework.org/t/selenium-manager-warn-message/8497/3 "2025-02-20T10:45:47Z")

</div>

Yeah, forgot to add, we have also somehting like this in our setup or KW opening browser:

${options}= Evaluate sys.modules[‘selenium.webdriver’].ChromeOptions() sys

and  
${options.binary\_location}= Set Variable $CHROME\_BINARY\_PATH

So using specific chrome+driver in this case.

---

<div class="post-metadata">

**Author:** ![rasjani](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Post date:** [20 February 2025 11:32 UTC](https://forum.robotframework.org/t/selenium-manager-warn-message/8497/4 "2025-02-20T11:32:06Z")

</div>

While my issue was not exactly the same, i sort of reported this same (eg, there’s no way to bypass SM fully); [[🐛 Bug]: selenium-manager hangs when trying to use selenium against electron app · Issue #13919 · SeleniumHQ/selenium · GitHub](https://github.com/SeleniumHQ/selenium/issues/13919)

But it got closed …

---

<div class="post-metadata">

**Author:** ![RysZ](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/rysz/32/4570_2.png) [@RysZ](https://forum.robotframework.org/u/RysZ)\
**Post date:** [20 February 2025 11:40 UTC](https://forum.robotframework.org/t/selenium-manager-warn-message/8497/5 "2025-02-20T11:40:25Z")

</div>

From python itslef(lib level) it is easy, as here:

> <https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/python/tests/selenium_manager/usage.py#L5-L8>

But I don’t want to mess with library. Would like to switch it off completely with e.g. enviromental variable, the same putting it in offline mode:

Set Environment Variable SE\_OFFLINE true

---

<div class="post-metadata">

**Author:** ![Magizhnan](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@Magizhnan](https://forum.robotframework.org/u/Magizhnan)\
**Post date:** [21 February 2025 10:08 UTC](https://forum.robotframework.org/t/selenium-manager-warn-message/8497/6 "2025-02-21T10:08:33Z")

</div>

Can u please tell me where to set SE\_OFFLINE as true ?  
 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/3/3ecae19796c2c94f19adc4b120aeb41dcbc0a2e2.png)

---

<div class="post-metadata">

**Author:** ![RysZ](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/rysz/32/4570_2.png) [@RysZ](https://forum.robotframework.org/u/RysZ)\
**Post date:** [21 February 2025 10:14 UTC](https://forum.robotframework.org/t/selenium-manager-warn-message/8497/7 "2025-02-21T10:14:17Z")

</div>

Set env variable →   
Set Environment Variable SE\_OFFLINE true  
Before opening browser.

---

<div class="post-metadata">

**Author:** ![Magizhnan](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@Magizhnan](https://forum.robotframework.org/u/Magizhnan)\
**Post date:** [21 February 2025 10:22 UTC](https://forum.robotframework.org/t/selenium-manager-warn-message/8497/8 "2025-02-21T10:22:50Z")

</div>

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

is there any possible way to avoid that

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/8/82da36f4355e0466aae5d38dab53f9d48baff016.png)

---

<div class="post-metadata">

**Author:** ![RysZ](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/rysz/32/4570_2.png) [@RysZ](https://forum.robotframework.org/u/RysZ)\
**Post date:** [21 February 2025 10:42 UTC](https://forum.robotframework.org/t/selenium-manager-warn-message/8497/9 "2025-02-21T10:42:51Z")

</div>

Try “true” not True:

Set Environment Variable SE\_OFFLINE true

Checked with Create Driver and Open Browser KWs and for me it is working like this.
