-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
3.0.3 #255
3.0.3 #255
Conversation
…ssing executable_path explicitly now causes chromedriver to not redownload since some people have issues downloading 3mb but expect to build next-gen scrapers
@ultrafunkamsterdam Funny joke on commit message haha but avoiding re-download and re-patch for every run is suitable for many cases, for example on containerized webdrivers. Currently I run chromedriver based on alpine linux image in docker containers: FROM python:3.8.7-alpine3.12
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
RUN apk add chromium chromium-chromedriver
ENV CHROMEDRIVER_PATH /usr/lib/chromium/chromedriver
RUN python -c "from undetected_chromedriver.patcher import Patcher; patcher = Patcher(version_main=86); patcher.executable_path = '$CHROMEDRIVER_PATH'; assert patcher.patch()"
RUN ln -s /usr/bin/chromium-browser /usr/bin/google-chrome |
Hi @HMaker , Thank you for your comment.
please try. Kind regards, |
I dont know if its bug but when u try to add some additional arguments with add_argument function, u ll see double --headless entry even if u use options.headlesss = True instead of options.add_argument('--headless'). |
quit() function is not working to close chrome driver |
@ngolun669, U dont need to do it, UC do it by itself. |
how to disable chrome password manager, i tried but it isnt worked. |
i cant using multi thread? driver open and can not close , when i using options.user_data_dir = "c:\temp\profile" |
@ultrafunkamsterdam Hello. I could help you to test data_dome service. if its interesting to you - write me |
@ultrafunkamsterdam Hello. I cant start UC on a virtual display, the driver never starts. If I try with selenium or selenium wire it starts. |
Big error, undetected-chromedriver 3.1 not work when im build to exe. try in Cx_freeze and Py auto exe |
please someone tell me how to disable redownloading driver by each run |
your driver cant open new tab |
This is so funny props to you |
I have this error This version of ChromeDriver only supports Chrome version 104 Current browser version is 103.0.5060.134 undetected chrome driver. I just update Chrome to the latest version and it works. |
"passing executable_path explicitly to Chrome() now causes chromedriver to not redownload, since some people have issues downloading 3mb but expect to build next-gen scrapers" We have 16 servers running hundreds of concurrent sessions at a time, and running fresh every 5 minutes, so that 3MB is multiplied by the thousands per hour. We don't particularly care about bandwidth usage, but it would be nice if there was a happy medium between downloading the file every time, and being to set a time limit. For example, it only downloads the file if the file is over 5 minutes old. |
Bruv it's open source and free, your frustration is laughable |
If you had a donation button somewhere we'd resolve the free part. Just pointing out that some of us are using your code for large scale commercial applications. But of course you are correct on the open source part, I'll be glad to code that up when I get time. Which I rarely do...which is why I mentioned it. Nevertheless, the project is awesome, and we certainly appreciate the hard work that goes into it. |
I am trying to access a web3 site that requires the metamask extension for logging in to the site. The standard selenium chromedriver supports an options.add_extension method that can be passed to the driver when it is instantiated. Your uc driver seems to ignore the option. Is there a way to specify this option in the uc driver??? |
Love these notes bahahahahaha |
I get the following error |
v 3.0.3 finally [ why 303 is such a good number ]
Hello lovebirds,
some free tips regarding some commonly raised issues:
1 - "Wrong version is downloaded, lets download the new chrome and hardcode it in v2.py"
2 - "look at all those option flags and arguments i copied from some blog, but your chromedriver doesnt work dude"
example:
3 - "Some cloudflare site xyz gives me endless loop help help"
4 - "help me i'm trying your driver but does not run on commodore64 or alike - please assist"
5 - "does this work in C#, C++, --c, Haskell, Java, Assembly, dos prompt?"
6 - "I have a question on basic webdriver stuff which are not are not a part of your library but you still need answer me! NOW!"