Error in Open Browser: 'service_log_path' is deprecated

image
I normally use this argument to prevent the geckodriver.log file from appearing, and after the last update I made, I now get the following WARNING: ‘service_log_path is being deprecated. Please use service to configure log_output or equivalent service attribute.’ I haven’t found much information about this topic.

Arguments in your example makes me think this is SeleniumLibrary kw, not Browser ..

And the reason might be is that SeleniumLibrary does not pin the dependency to exact version - SeleniumLibrary/requirements.txt at master · robotframework/SeleniumLibrary · GitHub

So if that option became deprecated >= 4.3.0 (latest is currently 4.31.0), SeleniumLibrary should indicate remove that option if/when possible or at least indicate in the docs that it is deprecated.

According to @EdManlove – service_log_path was fixed with SeleniumLibrary 6.1.1: TypeError: WebDriver.__init__() got an unexpected keyword argument 'service_log_path' · Issue #1835 · robotframework/SeleniumLibrary · GitHub

Upgrade ?

Or alternatively, downgrade selenium itself to 4.9.1 ..