Skip to content

Open Application not working with Selenium 4.10+ (unexpected keyword argument 'desired_capabilities') #404

@gucsantana

Description

@gucsantana

My test suite has been working just fine until now, but since upgrading to packages robotframework-appiumlibrary=2.0.0, Selenium=4.14.0 and appium-python-client=3.1.0, currently the latest, the Open Application keyword throws the following error:

Error installing app: TypeError: WebDriver.__init__() got an unexpected keyword argument 'desired_capabilities'

Selenium 4.10+ has fully deprecated the 'desired_capabilities' arguments, using 'options' instead. appium-python-client has already made the jump to remove the deprecated arguments from all calls, but when I inspect the appium webdriver at appiumlibrary's _applicationmanagement.py -> open_application, I still see an older build of the webdriver from appium-python-client, that still passes the deprecated arguments, causing a crash from what I can tell. Perhaps an outdated reference, or issue with the version requirements?

If I am doing something wrong on my end, please let me know, too. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions