Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
fpizarro91 opened this issue Jul 26, 2024 · 10 comments
Closed

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

fpizarro91 opened this issue Jul 26, 2024 · 10 comments

Comments

@fpizarro91
Copy link

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?

@mikahanninen
Copy link
Member

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");

@gonultasbu
Copy link

same issue

@gotoshekar
Copy link

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

@freesurfer33
Copy link

Hello,
Same problem despite workaround.

@muzicao
Copy link

muzicao commented Aug 1, 2024

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

@realJDofficial
Copy link

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

@gonultasbu
Copy link

this solution from stackoverflow worked for me:

SergeyPirogov/webdriver_manager#665 (comment)

@realJDofficial
Copy link

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.

@austinulfers
Copy link

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.

@raivolink
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants