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

Not clear what I should be using instead of 'desired_capabilities' #916

Open
chrisgraham24 opened this issue Sep 26, 2023 · 3 comments
Open

Comments

@chrisgraham24
Copy link

The problem

Using APC==3.0.0 and Selenium==4.13.0 (and Python 3.9.6) I am getting:
TypeError: __init__() got an unexpected keyword argument 'desired_capabilities'
I have seen a lot of these tickets get closed, but I still am not clear on what exactly I should be using instead of desired caps for my iOS and Android Appium tests using these versions. Please do not just close this and link an already closed ticket. I want to know what I should be using instead...thank you!

Environment

  • Appium version (or git revision) that exhibits the issue: 3.0.0
  • Mobile platform/version under test: iOS and Android
  • Real device or emulator/simulator: Real
  • Appium CLI or Appium.app|exe: CLI
@mykola-mokhnach
Copy link
Contributor

You should be using driver-specific or generic options. Check https://github.com/appium/python-client#usage

@chrisgraham24
Copy link
Author

Is there a list of driver-specific options? Do they translate from Desired Capabilities. Just seems such a massive change should be better documented...

@mykola-mokhnach
Copy link
Contributor

Unfortunately, the documentation has never been a strong side of this project, especially the part that targets beginners. You could always help yourself and others by improving it.

Look at https://github.com/appium/python-client/tree/master/appium/options if you want to find specific option implementations

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

2 participants