rpaframework icon indicating copy to clipboard operation
rpaframework copied to clipboard

RPA.Browser.Seleniun can't read the latest Chrome webdriver

Open fpizarro91 opened this issue 1 year ago • 10 comments

the latest chrome webdriver added a file called THIRD_PARTY_NOTICES and this leads to the error “Webdriver version couldn't be read due to: [WinError 193] %1 is not a valid Win32 application". Any solution for this error?

fpizarro91 avatar Jul 26 '24 16:07 fpizarro91

Workaround for this is to download correct driver from here and place it into stable location and use executable_path parameter to point into correct driver executable.

Another issue with Chrome browser which affect automations is the new search engine selection popup on browser startup. That can be handled by adding new startup argument to Chrome options options.addArguments("–disable-search-engine-choice-screen");

mikahanninen avatar Jul 26 '24 17:07 mikahanninen

same issue

gonultasbu avatar Jul 30 '24 14:07 gonultasbu

Same issue occurs even after using both 32bit and 64 bit chromedriver zips in robot_runtime's webdrivers path.

gotoshekar avatar Jul 31 '24 05:07 gotoshekar

Hello, Same problem despite workaround.

freesurfer33 avatar Jul 31 '24 09:07 freesurfer33

Same issue. Update webdriver-manager to 4.0.2 seems to work but has conflict with rpaframework. https://stackoverflow.com/questions/78789819/issue-with-selenium-and-webdriver/78796998 image

muzicao avatar Aug 01 '24 03:08 muzicao

@mikahanninen Is it possible to add the executable path with the Open Available Browser keyword?

realJDofficial avatar Aug 06 '24 08:08 realJDofficial

this solution from stackoverflow worked for me:

https://github.com/SergeyPirogov/webdriver_manager/issues/665#issuecomment-2271582009

gonultasbu avatar Aug 06 '24 15:08 gonultasbu

Thank you, @gonultasbu, but I have profound stuff to work with, which are based on the RPA.Browser.Selenium library. I managed to make the Open Browser keyword work with my settings, which directly has the parameter to give executable_path.

realJDofficial avatar Aug 08 '24 12:08 realJDofficial

Same issue. Update webdriver-manager to 4.0.2 seems to work but has conflict with rpaframework. https://stackoverflow.com/questions/78789819/issue-with-selenium-and-webdriver/78796998 image

Updating to 4.0.2 worked for me.

austinulfers avatar Aug 08 '24 17:08 austinulfers

Latest rpaframework 28.6.2 includes webdriver-manager 4.0.2 https://updates.robocorp.com/release/51XaM-rpa-framework-2862 It is recommended to remove existing drivers under %LOCALAPPDATA/robocorp/webdrivers folder when taking this new release into use.

raivolink avatar Aug 09 '24 05:08 raivolink