-
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
AttributeError: 'Chrome' object has no attribute 'service' #360
Comments
Getting same error on windows 10 (64 Bit)
|
Including my test program in the main function solved this. Removing it from main() resulted in the errors you both are recieving, for me at least. I also went back to 3.9 since I was experiencing issues with 3.10 that I've not yet explored 100%.
if name == "main": |
same issue under windows, if I run the same code on an ec2 with linux it works. Putting the call inside if name == 'main': fixes the issue but is not a good solution for various cases |
this kinda worked for me but im struggling on how to implement this in a class |
Greetings ! OS & App info: Errors:
|
I reinstalled too, but nothing changed, I use python 3.10 now |
@ minh7296 try to install version 3.0.3 |
Can someone help me? |
Thank you it temporary works , any chance that I can use undetected chromedriver ith latest python version please ? |
Please merge the pull requests so we can use python 3.10 @ultrafunkamsterdam @TJM4 |
Same issue under windows 10, undetected-chromedriver v3.0.6 and python v3.9.9 Just I upgraded python and undetected-chromedriver but if I rollback get the same error. error code on python v3.10 and undetected-chromedriver v3.0.6 `Traceback (most recent call last):
Exception ignored in: <function Chrome.del at 0x000001C56C6C8C10> |
I found the correct version in windows 10 how to install old version in pip?
|
has anyone found a solution for running multiple browsers? |
I had same problem, when i try lounch more then one driver, and solved it by using different options for every lounch driver: |
add and start your code |
use these requirements to create the env https://github.com/AffanAhmedUsmani/Issue-Resolution/blob/main/requirements.txt |
Version: undetected-chromedriver 3.0.3
OS: Windows 10 (64 Bit)
Error log:
Exception ignored in: <function Chrome.__del__ at 0x000002067EB18700> Traceback (most recent call last): File "undetected_chromedriver\v2.py", line 623, in __del__ File "undetected_chromedriver\v2.py", line 581, in quit AttributeError: 'Chrome' object has no attribute 'service'
Code snippet:
import undetected_chromedriver.v2 as uc
driver = uc.Chrome()
Been getting this error lately, have tried updating to 3.0.4 and 3.0.5 but had no luck. Any thoughts on this? Thanks.
The text was updated successfully, but these errors were encountered: