MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / grabAllContexts

Method grabAllContexts

lib/helper/Appium.js:783–786  ·  view source on GitHub ↗

* Get list of all available contexts * * ``` * let contexts = await I.grabAllContexts(); * ``` * * @return {Promise } * * Appium: support Android and iOS

()

Source from the content-addressed store, hash-verified

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

Callers 5

switchToWebMethod · 0.95
Appium_ios_test.jsFile · 0.80
Appium_test.jsFile · 0.80
AppiumTs.types.tsFile · 0.80
Appium.types.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected