Selenium WebDriver Factory not working with Chrome version 109.0.5414.74

Hello @qqilihq,

Selenium webdriver factory does not work with the latest chrome version.

We have some interfaces running, which uses selenium nodes with chrome browser. Unfortunately the chrome update on Knime server is automatic, and everytime a version update is made that is not supported by selenium the workflow fails.

Execute failed: session not created: This version of ChromeDriver only supports Chrome version 107 Current browser version is 109.0.5414.75 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe (Driver info: chromedriver=107.0.5304.62 (1eec40d3a5764881c92085aaee66d25075c159aa-refs/branch-heads/5304@{#942}),platform=Windows NT 10.0.17763 x86_64) (WARNING: The server did not provide any stacktrace information)

Can you please upgrade selenium to support the latest chrome version?

Thanks,
Divya

Hi Divya,

which version of the Selenium Nodes do you use?

Best,
Philipp

Our sever is on the version 4.11.1.

Selenium Nodes for KNIME    4.11.1.202212230856    ws.palladian.nodes.selenium.feature.feature.group    seleniumnodes.com

Thanks,
Divya

Thanks for the details - that’s indeed the currently latest version. This version actually ships with ChromeDriver v108.0.5359.71, which should still work fine also with Chrome 109.x (just verified locally).

As your log output suggests a different driver version: Can it be that you manually changed the ChromeDriver location through the preferences?

Please check this, and if so remove the setting from there (which means the included version will be used).

Hi Philipp,

Please find the configuration on server below,

We have no selection set for the chrome driver.

Tested the workflow locally and on server, and the error is the same.

Thanks for quick response.

Divya

Could you please send me the debug logs to mail@seleniumnodes.com to have a closer look? So far I cannot see why an older driver version is used, but hopefully the logs will tell.

Enable DEBUG in the Preferences KNIME GUIConsole View Log Level, re-execute the failing node, and copy the text from the “Console” tab.

Thank you!

Sure. I have sent the debug log to the requested email.

Thanks,
Divya

Thank you very much. I’m quoting below from the log, as this information is non-confidential:

DEBUG Start WebDriver      6:278      Using included binary at path: C:\Program Files\KNIME\plugins\ws.palladian.nodes.selenium.binaries.win64_4.11.0.202211191754\binaries\chromedriver.exe

This suggests, that there’s still an old version (4.11.0) of the plugin installed, which contains an old driver version. Maybe something during installation went wrong. Could you please try:

(a) Start KNIME once with the “clean” parameter (see here)
(b) If this does not help, please uninstall the Selenium Nodes and re-install them (please ensure to use the proper update site URL; see here)

Independently of that, please have a look at FAQ#32 regarding the bundled Chromium. This avoids any such issues due to version imparities.

Best,
Philipp

Update of the selenium locally with clean knime fixed the issue on the knime client.
Server was already on the right version, knime clean and restart surprisingly fixed the error there as well :).

Thanks for the support.

Divya

1 Like

Great, thank for confirming! :+1:

Still suggest to have a look at mentioned FAQ above, as this will make things more stable in general.

Best,
Philipp

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.