update: get binary version of chrome in windows #2602
Closed
+6
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

adding a binary_location, the browser didn't get the version correctly in windows and a new browser window was popping up.
this fix should add a method to get the version correctly.
A request or a doubt:
Is it possible to give a chromedriver path while creating a driver obj?
self.browser = Driver(undetectable=True, user_data_dir=self.userDataDir, binary_location=constants.chromeBinaryPath, driver_version=117)
I have a project (educative.io_scraper) I already have a feature to download the chromedriver, so I wanted to know if there is any way to provide the path to chromedriver. After that it can be patched and the uc_driver could be saved in the same folder location?