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

The last error was: Keyword 'Swipe By Percent' failed after retrying for 10 seconds. The last error was: AttributeError: 'WebDriver' object has no attribute 'desired_capabilities' #994

Closed
3 tasks done
GitAmi55 opened this issue Jun 4, 2024 · 0 comments
Labels

Comments

@GitAmi55
Copy link

GitAmi55 commented Jun 4, 2024

Do I have the most recent component updates?

  • I use the most recent available driver/plugin and server versions

Is the component officially supported by the Appium team?

  • I have verified the component repository is present under the Appium organization in GitHub

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I am trying to use swipe by percent keyword from Appium robotframework. However, when I execute the tests I get this error:
The last error was: Keyword 'Swipe By Percent' failed after retrying for 10 seconds. The last error was: AttributeError: 'WebDriver' object has no attribute 'desired_capabilities'

I read this related issue, tried updating to selenium 4.16.0, but issue remains the same.

Please let me know what could be the issue and how can I fix this? Thank you.

Expected Behavior

Swipe by percent should be able to swipe the app screen without any errors.

Minimal Reproducible Example

Here are my current pip3 installs:


Appium-Python-Client            3.1.0
requests                        2.31.0
robotframework                  7.0
robotframework-appiumlibrary    2.0.0
robotframework-archivelibrary   0.4.2
robotframework-assertion-engine 3.0.3
robotframework-browser          18.3.0
robotframework-oracledb         2.0.2
robotframework-pythonlibcore    4.4.1
robotframework-requests         0.9.7
robotframework-seleniumlibrary  6.2.0
selenium                        4.16.0

Environment

  • Operating system: MacOs
  • Appium server version (output of appium --version): 2.4.1
  • Appium driver(s) and their version(s) (appium driver list):UiAutomator2
  • Appium plugin(s) and their version(s) (appium plugin list):
  • Node.js version (output of node --version):v21.7.2
  • npm version (output of npm --version): 10.5.2
  • Last component(s) version which did not exhibit the problem:
  • Platform and version under test: Android
  • Real device or emulator/simulator: Read device

Link to Appium Logs

LINK

Further Information

No response

@GitAmi55 GitAmi55 added the bug label Jun 4, 2024
@mykola-mokhnach mykola-mokhnach transferred this issue from appium/appium Jun 4, 2024
@GitAmi55 GitAmi55 changed the title The last error was: Keyword 'al.Swipe By Percent' failed after retrying for 10 seconds. The last error was: AttributeError: 'WebDriver' object has no attribute 'desired_capabilities' The last error was: Keyword 'Swipe By Percent' failed after retrying for 10 seconds. The last error was: AttributeError: 'WebDriver' object has no attribute 'desired_capabilities' Jun 4, 2024
@GitAmi55 GitAmi55 closed this as completed Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant