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

Lack of the start_activity method in WebDriver class. #917

Closed
wojciu94 opened this issue Sep 28, 2023 · 2 comments
Closed

Lack of the start_activity method in WebDriver class. #917

wojciu94 opened this issue Sep 28, 2023 · 2 comments

Comments

@wojciu94
Copy link

The problem

I was using the start_activity method to start an activity if the application was created during the session. In Appium-Python-Client 3.0.0 there is no such method. I found that I should use the method mobile: startActivity. But there is no such method in the Applications class (appium.webdriver.extensions.applications.Applications). Also, there is no such command in the MobileCommand class (appium.webdriver.mobilecommand.MobileCommand).

How can I use the method to start an activity, by using the command mobile: startActivity?

Environment

  • Appium version (or git revision) that exhibits the issue: Appium-Python-Client 3.0.0
  • Last Appium version that did not exhibit the issue (if applicable): Appium-Python-Client 2.11.1
@mykola-mokhnach
Copy link
Contributor

@wojciu94
Copy link
Author

wojciu94 commented Oct 3, 2023

Thank you for your answer. The method from your link works for me.

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

3 participants