question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to kill app in iOS?

See original GitHub issue

The problem

What’s the solution if I want to kill app in ios and start a new session without launching the app? since autolauch capability is deprecated in appium 1.5.

Environment

Any

Details

If necessary, describe the problem you have been experiencing in more detail.

Link to Appium logs

Code To Reproduce Issue [ Good To Have ]

Please remember that with sample code it’s easier to reproduce the bug and it’s much faster to fix it.

Please git clone https://github.com/appium/appium and from the sample-code directory, use one of your favourite languages and sample apps to reproduce the issue.

In case a similar scenario is missing in sample-code, please submit a PR with one of the sample apps provided.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
mykola-mokhnachcommented, Jun 21, 2018

I think it is not possible to do this directly, since WebDriverAgent requires app bundle for session startup. Although, you could possible workaround this limitation by passing some bundle id of a system app like springboard itself with noReset option and then handle the application you want using application management endpoints.

0reactions
lock[bot]commented, Jun 29, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Close Apps on the iPhone - Lifewire
How to Quit or Close Apps on iOS 6 · Double-click the Home button to reveal a row of apps below the dock....
Read more >
How to Force Quit (Kill) an App on Your iPhone running iOS ...
Method #1. View Recently Used Apps and Force Close Apps on iPad and iPhone · Swipe up your finger from the bottom edge...
Read more >
How to Close Apps on iPhone 12, 11, XS, XR and X
When the App Switcher comes up, swipe left and right through the different app cards to find the app that you want to...
Read more >
How to force quit apps on iPhone and iPad | iMore
Double click Home button, find app, swipe up on app. Battery troubleshooting showing how to force quit apps on an iPhone with a...
Read more >
How To Close/Kill iOS Apps On iPhone and iPad
Double-tap your home button, at the bottom of your iPhone or iPad · Once you see the iOS multi-tasking view with all of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found