Skip to content
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

Appium-Python-Client 2.10.1 is broken with selenium 4.10.0 #878

Closed
ikseek opened this issue Jun 8, 2023 · 6 comments
Closed

Appium-Python-Client 2.10.1 is broken with selenium 4.10.0 #878

ikseek opened this issue Jun 8, 2023 · 6 comments

Comments

@ikseek
Copy link

ikseek commented Jun 8, 2023

The problem

Any attempt to instantiate remote WebDriver triggers a TypeError: WebDriver.__init__() got an unexpected keyword argument 'desired_capabilities'

Environment

  • Appium version: 2.10.1
  • Selenium version: 4.10.0
  • Desktop OS/version used to run Appium: Mac OS Ventura 13.4

Details

Looks like the latest Selenium introduced a breaking change in the WebDriver constructor by dropping desired_capabilities arg.

Code To reproduce issue

from appium.webdriver import Remote
Remote()
...
TypeError: WebDriver.__init__() got an unexpected keyword argument 'desired_capabilities'

@KazuCocoa
Copy link
Member

Please try out https://pypi.org/project/Appium-Python-Client/2.10.2/

@tking16
Copy link

tking16 commented Jun 9, 2023

Please try out https://pypi.org/project/Appium-Python-Client/2.10.2/

@KazuCocoa I've added Appium-Python-Client==2.10.2 and for some reason I'm getting

ERROR: Could not find a version that satisfies the requirement Appium-Python-Client==2.10.2 (from versions: 0.3.macosx-10.9-intel, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.23, 0.24, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31, 0.32, 0.33, 0.34, 0.35, 0.36, 0.37, 0.38, 0.39, 0.40, 0.41, 0.42, 0.43, 0.44, 0.45, 0.46, 0.47, 0.48, 0.49, 0.50, 0.51, 0.52, 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.3.0, 2.0.0a0, 2.0.0b1, 2.0.0b2, 2.0.0b3, 2.0.0b4, 2.0.0b5, 2.0.0rc1, 2.0.0rc2, 2.0.0rc4, 2.0.0rc5, 2.0.0rc6, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.1.4, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.6.1, 2.6.2, 2.7.0, 2.7.1, 2.8.0, 2.8.1, 2.9.0, 2.10.0, 2.10.1)
ERROR: No matching distribution found for Appium-Python-Client==2.10.2

same for the 2.11

@KazuCocoa
Copy link
Member

Probably cache in pypi server etc. I have no issue as below:

$ pip install Appium-Python-Client==2.10.2
Collecting Appium-Python-Client==2.10.2
  Downloading Appium-Python-Client-2.10.2.tar.gz (125 kB)
     |████████████████████████████████| 125 kB 7.7 MB/s

$ pip install Appium-Python-Client==2.11.0
Collecting Appium-Python-Client==2.11.0
  Downloading Appium-Python-Client-2.11.0.tar.gz (3.4 MB)
     |████████████████████████████████| 3.4 MB 7.0 MB/s
...

@tking16
Copy link

tking16 commented Jun 9, 2023

Seems to download perfectly fine too with a pip install command, but errors when trying through pip install -r python.requirements.txt. Might be a virtualEnv issue, thanks anyway

@tking16
Copy link

tking16 commented Jun 9, 2023

Found the issue, we had an external Sonatype Cache which needed to be invalidated. Thanks for the help again

@chrisgraham24
Copy link

APC 3.0.0 and Selenium 4.13.0 this is still occurring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants