-
Notifications
You must be signed in to change notification settings - Fork 563
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
'AppiumConnection' object has no attribute '_ca_certs' #1053
Comments
Do you use selenium v4.26.0 dependency? Then please use 4.25.0. I'll work on two things in selenium change:
https://github.com/SeleniumHQ/selenium/blob/trunk/py/CHANGES |
I'm still using Selenium 4.21 for Grid purposes but even trying to run without that is giving me this error |
Adding comments from duplicate report. This is fallout from an update to the selenium library. At least, in my case, I don't see this issue with 4.25.0, but when I built a new environment, with selenium 4.26.0, this started happening. Note - a semver update of the Selnium's package minor version should not break the api, but, appium is addressing a private variable in selenium (? _ca_certs). A private variable is not intended to be used by a consumer and is not guaranteed to remain stable. While pinning selenium to 4.25.0 may fix the issue for you at present, ultimately, the appium package should not be relying on private variable access from the selenium package. |
Just to clarify here:
Even though it may seem like it at first, Selenium does not actually follow semver. This is why the README of this project (and other Appium clients) has a compatibility matrix for Selenium binding versions. |
Released 4.2.1 with up to selenium bindings 4.25.0. It looks like selenium 4.26.0 binding introduced request timeout limitation from the beginning so we may need to write thin guidance about the timeout as well with the 4.26.0 update. Let me close this for now as 4.2.1 has a temporary workaround, and working on #1054. |
Selenium Python 4.26.1 is out with adding backward compatibility SeleniumHQ/selenium#14696 for AppiumConnection |
I'm getting a new error all of a sudden as soon as I try to start up any tests
Environment
Details
If necessary, describe the problem you have been experiencing in more detail.
Link to Appium Logs
Nothing is coming out of the logs, it fails before it even gets in there
The text was updated successfully, but these errors were encountered: