Open teylerk opened 11 months ago
I think it's saying that your chrome is out of date since 117 came out today.
What' I've done so far and it works while there is an update here:
Delete this file:
c:\Users\YOUR USERNAME\AppData\Roaming\undetected_chromedriver\undetected_chromedriver.exe
Navigate to that folder and copy there the prior version of undetected_chromedriver.exe you may have.
Apply the Read Only flag to that file, in order for your Undetected CromeDriver to not update it to the latest version, in this case, 117.
That's all.
What' I've done so far and it works while there is an update here:
- Delete this file:
c:\Users\YOUR USERNAME\AppData\Roaming\undetected_chromedriver\undetected_chromedriver.exe
- Navigate to that folder and copy there the prior version of undetected_chromedriver.exe you may have.
- Apply the Read Only flag to that file, in order for your Undetected CromeDriver to not update it to the latest version, in this case, 117.
That's all.
Where would I get this .exe from, if I dont have the correct version?
I had lots of .exe files on that folder with temp filenames, and I renamed the latest one to undetected_chromedriver.exe
Also, there must be a place where we can get older versions of ChromeDriver, but I don't know wich one.
I am experiencing the same issue. I have been seeing this issue, but it is a bit more clear to me now.
When a newer major version (117 vs 116) of Chrome releases, but is not installed, undetected-chromedriver downloads the latest available version, instead of the currently installed build version or milestone version.
Here's an example that I recently ran into
In this scenario, I would expect that undetected-chromedriver would do either of the following
Currently it seems undetected-chromedriver downloads the latest version every time. Our best workaround is to detect when this happens and force Chrome to update immediately on our servers that run these scripts. Normally though, our servers will update randomly throughout the week as some auto-update to a newer version of 116, and some auto-update to 117.
I am running this on a ubuntu server. Can someone help how do I resolve this ?
same question..
Hi there.
I'm having the same Issue.
I have the same issue, but the annoying part is that I have updated my chrome, which is the same version as the Chromedriver is telling me I should use. Still however, I am getting stacktraces...
Experiencing the same.. solved forcing the update on my server. on my osx no problem occurred I needed to move from chromium to chrome stable version
I updated all versions of the chrome instance in my pc then changed this line of code
driver = uc.Chrome() driver.get('https://www.example.com')
to
driver = webdriver.Chrome() driver.get('https://www.example.com')
I hope that helps
i updaetd and now getting 403s on all requests ðŸ˜
you can try passing some uc_options here driver = webdriver.Chrome(options=uc_options) driver.get('https://www.example.com/')
I hope that helps
@project621c what should be in the uc_options ?
You can fix it by choosing the old version version_main=116
.
For example:
uc.Chrome(version_main=116)
But you have to change it manually after updating the chrome version :(
You can fix it by choosing the old version
version_main=116
. For example:uc.Chrome(version_main=116)
But you have to change it manually after updating the chrome version :(
Yeah! it works perfectly, thanks
Where and in which file does one place this line?
uc.Chrome(version_main=116)
@SilentDelirium You only have to add version_main=YOUR_CURRNET_CHROME_VERSION
, in the place you initialize the undetected browser
You can fix it by choosing the old version
version_main=116
. For example:uc.Chrome(version_main=116)
But you have to change it manually after updating the chrome version :(
where can i add uc.Chrome(version_main=116)
multiCapabilities: [{
browserName: 'chrome'
chromeOptions:
args: [
# '--headless',
# '--disable-gpu',
'test-type',
'lang=en-US',
'window-size=1280,1080',
],
prefs:
intl: accept_languages: "en-US"
count: 1
}]
I've run into such an issue when trying to run Selenium
tests:
Chrome
version was 117chromedriver
that was getting used was 117Chrome for Testing
was 116 thus failing with the error aboveSolution - I had to specify driver version when running the test:
mvn clean verify -Dtest=TestName -Dwdm.chromeVersion=116
Does anyone know the command to allow for it to pull the current stable version of Chrome driver for 117?