* Get list of all available contexts * * ``` * let contexts = await I.grabAllContexts(); * ``` * * @return {Promise } * * Appium: support Android and iOS
()
| 781 | * Appium: support Android and iOS |
| 782 | */ |
| 783 | async grabAllContexts() { |
| 784 | onlyForApps.call(this) |
| 785 | return this.browser.getContexts() |
| 786 | } |
| 787 | |
| 788 | /** |
| 789 | * Retrieve current context |
no outgoing calls
no test coverage detected