# Error when starting robot tests

**URL:** <https://forum.robotframework.org/t/error-when-starting-robot-tests/5807>\
**Category:** Robot Framework\
**Created:** [9 June 2023 11:55 UTC](https://forum.robotframework.org/t/error-when-starting-robot-tests/5807 "2023-06-09T11:55:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![VladislavGn](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/vladislavgn/32/2711_2.png) [@VladislavGn](https://forum.robotframework.org/u/VladislavGn)\
**Post date:** [9 June 2023 11:55 UTC](https://forum.robotframework.org/t/error-when-starting-robot-tests/5807/1 "2023-06-09T11:55:14Z")

</div>

Hi there!  
I can’t solve the problem with this error:  
Suite setup failed:  
TypeError: WebDriver. **init** () got an unexpected keyword argument ‘executable\_path’  
Few days ago all was fine and worked well, today, I’m trying to solve the problem fr hours and nothing helps.  
Please help me!  
I’ve run all updates:  
ROBOT\_FRAMEWORK\_VERSION 6.0.2  
ROBOT\_FRAMEWORK\_SELENIUMLIBRARY 6.1.0  
FAKER 18.10.1

When my tests run “Test setup” with the next code, all tests fail with the previous error:

Load application and set window size  
[Arguments] ${URL} ${Browser} ${BrowserWidth} ${BrowserHeight}  
${chrome\_options}= Evaluate sys.modules[‘selenium.webdriver’].ChromeOptions() sys  
Call Method ${chrome\_options} add\_argument --disable-logging  
Call Method ${chrome\_options} add\_argument --no-sandbox  
Call Method ${chrome\_options} add\_argument --headless  
Call Method ${chrome\_options} add\_argument --window-size=${BrowserWidth},${BrowserHeight}  
Open Browser ${URL} ${Browser} options=${options}

---

<div class="post-metadata">

**Author:** ![damies13](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/damies13/32/623_2.png) [@damies13](https://forum.robotframework.org/u/damies13)\
**Post date:** [9 June 2023 12:07 UTC](https://forum.robotframework.org/t/error-when-starting-robot-tests/5807/2 "2023-06-09T12:07:28Z")

</div>

Hi Vladislav,

I had the same issue myself today, i believe it’s related to this issue → [TypeError: WebDriver.\_\_init\_\_() got an unexpected keyword argument 'service\_log\_path' · Issue #1835 · robotframework/SeleniumLibrary · GitHub](https://github.com/robotframework/SeleniumLibrary/issues/1835)

The quick fix worked for me → [TypeError: WebDriver.\_\_init\_\_() got an unexpected keyword argument 'service\_log\_path' · Issue #1835 · robotframework/SeleniumLibrary · GitHub](https://github.com/robotframework/SeleniumLibrary/issues/1835#issuecomment-1581426365)

Hope that helps,

Dave.

---

<div class="post-metadata">

**Author:** ![VladislavGn](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/vladislavgn/32/2711_2.png) [@VladislavGn](https://forum.robotframework.org/u/VladislavGn)\
**Post date:** [9 June 2023 13:37 UTC](https://forum.robotframework.org/t/error-when-starting-robot-tests/5807/3 "2023-06-09T13:37:15Z")

</div>

Thank you a lot!

---

<div class="post-metadata">

**Author:** ![nra-Dvg](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/nra-dvg/32/3178_2.png) [@nra-Dvg](https://forum.robotframework.org/u/nra-Dvg)\
**Post date:** [22 November 2023 15:47 UTC](https://forum.robotframework.org/t/error-when-starting-robot-tests/5807/4 "2023-11-22T15:47:12Z")

</div>

I also faced the same issue after upgrading the robot framework & some robo libraries. after I downgraded **selenium & robotframework-seleniumlibrary**. now it’s working fine for me.

used `selenium==4.1.3 & robotframework-seleniumlibrary 6.0.0 & robotframework 5.0.1`
